wcpgsk_set_messages

The Woocommerce Poor Guys Swiss Knife wcpgsk set messages function.

Description

wcpgsk_set_messages(); 

Usage

  1. if ( !function_exists( 'wcpgsk_set_messages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-poor-guys-swiss-knife/wcpgsk-af.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wcpgsk_set_messages(); 
  7.  

Defined (1)

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

/wcpgsk-af.php  
  1. function wcpgsk_set_messages() { 
  2. if ( !function_exists('WC') ) : 
  3. global $woocommerce; 
  4. $woocommerce->set_messages(); 
  5. endif;