yit_icon_list

Return the list of icons.

Description

(string) apply_filters( 'yit_icon_list', (unknown) $standard_icon_list ); 

Returns (string)

Array

Parameters (1)

0. $standard_icon_list (unknown)
The standard icon list.

Usage

To run the hook, copy the example below.
  1. $standard_icon_list = apply_filters( 'yit_icon_list', $standard_icon_list ); 
  2.  
  3. if ( !empty( $standard_icon_list ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the yit_icon_list callback 
  2. function filter_yit_icon_list( $standard_icon_list ) { 
  3. // make filter magic happen here... 
  4. return $standard_icon_list
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'yit_icon_list', 'filter_yit_icon_list', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'yit_icon_list', 'filter_yit_icon_list', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/plugin-fw/lib/yit-plugin-common.php  
  1. return apply_filters( 'yit_icon_list', $standard_icon_list );