yith_usecookies

Check if the user want to use cookies or not.

Description

yith_usecookies(); 

Usage

  1. if ( !function_exists( 'yith_usecookies' ) ) { 
  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_usecookies(); 
  7.  

Defined (1)

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

/includes/functions.yith-wcwl.php  
  1. function yith_usecookies() { 
  2. return get_option( 'yith_wcwl_use_cookie' ) == 'yes' ? true : false;