<shortcode_shortcode_tag>_<shortcode>

Init shortcodes.


Usage

  1. // assign value 
  2. $shortcode_shortcode_tag>_
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$shortcode_shortcode_tag>_"); 
  1. // assign value 
  2. $shortcode_shortcode_tag>_
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$shortcode_shortcode_tag>_"); 
  6. echo $result;  

Defined (1)

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

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