yith_wcwl_is_wishlist

Check if we're printing wishlist shortcode.

Description

yith_wcwl_is_wishlist(); 

Usage

  1. if ( !function_exists( 'yith_wcwl_is_wishlist' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yith-woocommerce-wishlist/includes/functions.yith-wcwl.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = yith_wcwl_is_wishlist(); 
  7.  

Defined (1)

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

/includes/functions.yith-wcwl.php  
  1. function yith_wcwl_is_wishlist() { 
  2. global $yith_wcwl_is_wishlist; 
  3.  
  4. return $yith_wcwl_is_wishlist;