woocp_comparison_page_header
The WooCommerce Compare Products LITE woocp comparison page header hook.
Description
do_action( 'woocp_comparison_page_header' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'woocp_comparison_page_header' );
- The following example is for adding a hook callback.
- // define the woocp_comparison_page_header callback
- function action_woocp_comparison_page_header( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'woocp_comparison_page_header', 'action_woocp_comparison_page_header', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'woocp_comparison_page_header', 'action_woocp_comparison_page_header', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /templates/product-compare.php
- <?php do_action('woocp_comparison_page_header'); ?>
- /templates/product-compare-old.php
- <?php do_action('woocp_comparison_page_header'); ?>