woocommerce_messages

The WooCommerce woocommerce messages shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[woocommerce_messages]'); 
  1. // variable usage 
  2. $result = do_shortcode('[woocommerce_messages]'); 
  3. echo $result;  

Defined (1)

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

/includes/class-wc-shortcodes.php  
  1. foreach ( $shortcodes as $shortcode => $function ) { 
  2. add_shortcode( apply_filters( "{$shortcode}_shortcode_tag", $shortcode ), $function ); 
  3.  
  4. // Alias for pre 2.1 compatibility 
  5. add_shortcode( 'woocommerce_messages', __CLASS__ . '::shop_messages' ); 
  6.  
  7. /** 
  8. * Shortcode Wrapper.