<content>

The Jetpack by WordPress.com content shortcode.


Usage

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

Defined (5)

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

/modules/contact-form/admin.php  
  1. die( '' ); 
  2.  
  3. $post = get_post( $_POST['post_id'] ); 
  4.  
  5. do_shortcode( $content ); 
  6.  
  7. $grunion = Grunion_Contact_Form::$last; 
  8.  
  9. $out = array( 
  10. 'to' => '',  
/modules/contact-form/grunion-contact-form.php  
  1. function parse_content( $content ) { 
  2. if ( is_null( $content ) ) { 
  3. $this->body = null; 
  4.  
  5. $this->body = do_shortcode( $content ); 
  6.  
  7. /** 
  8. * Returns the value of the requested attribute. 
/modules/shortcodes/presentations.php  
  1. $out.= "<div class='autoplay-overlay' style='display: none'><p class='overlay-msg'>"; 
  2. $out.= __( 'Click to autoplay the presentation!' , jetpack ); 
  3. $out.= "</p></div>"; 
  4.  
  5. $out.= do_shortcode( $content ); 
  6.  
  7. $out.= "</section>"; 
  8.  
  9. $this->presentation_initialized = false; 
  1. $out.= "<div class='autoplay-overlay' style='display: none'><p class='overlay-msg'>"; 
  2. $out.= __( 'Click to autoplay the presentation!' , jetpack ); 
  3. $out.= "</p></div>"; 
  4.  
  5. $out.= do_shortcode( $content ); 
  6.  
  7. $out.= "</section>"; 
  8.  
  9. $this->presentation_initialized = false; 
/modules/shortcodes/recipe.php  
  1.  
  2. $html .= '</ul>'; 
  3.  
  4. // Print content between codes 
  5. $html .= '<div class="jetpack-recipe-content">' . do_shortcode( $content ) . '</div>'; 
  6.  
  7. // Close it up 
  8. $html .= '</div>'; 
  9.  
  10. // If there is a recipe within a recipe, remove the shortcode