yith_wcwl_tab_options

The YITH WooCommerce Wishlist yith wcwl tab options hook.

Description

apply_filters( 'yith_wcwl_tab_options', (unknown) $yith_wcwl_admin_init ); 

Parameters (1)

0. $yith_wcwl_admin_init (unknown) => YITH_WCWL_Admin_Init()->options
The yith wcwl admin init.

Usage

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

Defined (2)

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

/plugin-options/settings-options.php  
  1. $options = apply_filters( 'yith_wcwl_tab_options', YITH_WCWL_Admin_Init()->options ); 
/plugin-options/colors-options.php  
  1. $options = apply_filters( 'yith_wcwl_tab_options', YITH_WCWL_Admin_Init()->options );