yith_woocompare_updated_pointer_content

The YITH WooCommerce Compare yith woocompare updated pointer content hook.

Description

apply_filters( 'yith_woocompare_updated_pointer_content', (unknown) $sprintf ); 

Parameters (1)

0. $sprintf — Optional. (unknown) => sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, discover the PREMIUM version.', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() )
The sprintf.

Usage

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

Defined (1)

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

/includes/class.yith-woocompare-admin.php  
  1. apply_filters( 'yith_woocompare_updated_pointer_content', sprintf( __( 'From now on, you can find all the options of YITH WooCommerce Compare under YIT Plugin -> Compare instead of WooCommerce -> Settings -> Compare, as in the previous version. When one of our plugins is updated, a new voice will be added to this menu. YITH WooCommerce Compare has been updated with new available options, <a href="%s">discover the PREMIUM version.</a>', 'yith-woocommerce-compare' ), $this->get_premium_landing_uri() ) )