of_recognized_font_sizes
The SKT Photo World of recognized font sizes hook.
Description
Parameters (1)
- 0. $sizes (unknown)
- The sizes.
Usage
- To run the hook, copy the example below.
- $sizes = apply_filters( 'of_recognized_font_sizes', $sizes );
- if ( !empty( $sizes ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the of_recognized_font_sizes callback
- function filter_of_recognized_font_sizes( $sizes ) {
- // make filter magic happen here...
- return $sizes;
- };
- // add the filter
- add_filter( 'of_recognized_font_sizes', 'filter_of_recognized_font_sizes', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'of_recognized_font_sizes', 'filter_of_recognized_font_sizes', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /inc/includes/class-options-sanitize.php
- $sizes = apply_filters( 'of_recognized_font_sizes', $sizes );