<text>

The Jetpack by WordPress.com text shortcode.


Usage

  1. // assign value 
  2. $text = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$text]"); 
  1. // assign value 
  2. $text = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$text]"); 
  6. echo $result;  

Defined (1)

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

/modules/contact-form/grunion-contact-form.php  
  1. $old = $GLOBALS['shortcode_tags']; 
  2. remove_all_shortcodes(); 
  3. Grunion_Contact_Form_Plugin::$using_contact_form_field = true; 
  4. $this->add_shortcode(); 
  5.  
  6. $text = do_shortcode( $text ); 
  7.  
  8. Grunion_Contact_Form_Plugin::$using_contact_form_field = false; 
  9. $GLOBALS['shortcode_tags'] = $old; 
  10.  
  11. return $text;