yith_woocompare_after_populate_product_list

The YITH WooCommerce Compare yith woocompare after populate product list hook.

Description

do_action( 'yith_woocompare_after_populate_product_list', (unknown) $this_products_list ); 

Parameters (1)

0. $this_products_list (unknown)
The this products list.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'yith_woocompare_after_populate_product_list', $this_products_list ); 
The following example is for adding a hook callback.
  1. // define the yith_woocompare_after_populate_product_list callback 
  2. function action_yith_woocompare_after_populate_product_list( $this_products_list ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'yith_woocompare_after_populate_product_list', 'action_yith_woocompare_after_populate_product_list', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'yith_woocompare_after_populate_product_list', 'action_yith_woocompare_after_populate_product_list', 10, 1 ); 

Defined (1)

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

/includes/class.yith-woocompare-frontend.php  
  1. do_action( 'yith_woocompare_after_populate_product_list', $this->products_list );