of_typography_fields

The SKT Biz 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.
  1. $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value ); 
  2.  
  3. if ( !empty( $typography_fields ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the of_typography_fields callback 
  2. function filter_of_typography_fields( $typography_fields, $typography_stored, $option_name, $value ) { 
  3. // make filter magic happen here... 
  4. return $typography_fields
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'of_typography_fields', 'filter_of_typography_fields', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. 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  
  1. $typography_fields = apply_filters( 'of_typography_fields', $typography_fields, $typography_stored, $option_name, $value );