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