yith_wcwl_updated_pointer_content

The YITH WooCommerce Wishlist yith wcwl updated pointer content hook.

Description

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

Parameters (1)

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

Usage

To run the hook, copy the example below.
  1. $sprintf = apply_filters( 'yith_wcwl_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_wcwl_updated_pointer_content callback 
  2. function filter_yith_wcwl_updated_pointer_content( $sprintf ) { 
  3. // make filter magic happen here... 
  4. return $sprintf
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'yith_wcwl_updated_pointer_content', 'filter_yith_wcwl_updated_pointer_content', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'yith_wcwl_updated_pointer_content', 'filter_yith_wcwl_updated_pointer_content', 10, 1 ); 

Defined (1)

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

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