yit_panel_<type>

The YITH WooCommerce Wishlist yit panel type hook.

Description

do_action( 'yit_panel_<type>', (unknown) $option, (unknown) $db_value, (unknown) $custom_attributes ); 

Parameters (3)

0. $option (unknown)
The option.
1. $db_value (unknown)
The db value.
2. $custom_attributes (unknown)
The custom attributes.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'yit_panel_{$type}', $option, $db_value, $custom_attributes ); 
The following example is for adding a hook callback.
  1. // define the yit_panel_<type> callback 
  2. function action_yit_panel_type( $option, $db_value, $custom_attributes ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "yit_panel_{$type}", 'action_yit_panel_type', 10, 3 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "yit_panel_{$type}", 'action_yit_panel_type', 10, 3 ); 

Defined (1)

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

/plugin-fw/lib/yit-plugin-panel.php  
  1. do_action( "yit_panel_{$option['type']}", $option, $db_value, $custom_attributes );