wcpgsk_show_messages

The Woocommerce Poor Guys Swiss Knife wcpgsk show messages function.

Description

wcpgsk_show_messages(); 

Usage

  1. if ( !function_exists( 'wcpgsk_show_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_show_messages(); 
  7.  

Defined (1)

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

/wcpgsk-af.php  
  1. function wcpgsk_show_messages() { 
  2. if ( function_exists('WC') && function_exists('wc_print_notices') ) : 
  3. wc_print_notices(); 
  4. else : 
  5. global $woocommerce; 
  6. $woocommerce->show_messages(); 
  7. endif;