of_typography_fields
The SKT Black of typography fields hook.
Description
apply_filters( 'of_typography_fields', (unknown) $typography_fields, (unknown) $typography_stored, (string) $option_name, (unknown) $value );
Parameters (4)
- 0. $typography_fields (unknown)
- The typography fields.
- 1. $typography_stored (unknown)
- The typography stored.
- 2. $option_name (string)
- The option name.
- 3. $value (unknown)
- The value.
Usage
- To run the hook, copy the example below.
- $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value );
- if ( !empty( $typography_fields ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the of_typography_fields callback
- function filter_of_typography_fields( $typography_fields, $typography_stored, $option_name, $value ) {
- // make filter magic happen here...
- return $typography_fields;
- };
- // add the filter
- add_filter( 'of_typography_fields', 'filter_of_typography_fields', 10, 4 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'of_typography_fields', 'filter_of_typography_fields', 10, 4 );
Defined (1)
The filter is defined in the following location(s).
- /inc/includes/class-options-interface.php
- $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value );