<output>

The Jetpack by WordPress.com output shortcode.


Usage

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

Defined (1)

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

/modules/widgets/image-widget.php  
  1. $output = '<figure ' . $img_width .' class="wp-caption align' . esc_attr( $instance['align'] ) . '"> 
  2. ' . $output . ' 
  3. <figcaption class="wp-caption-text">' . $caption . '</figcaption> 
  4. </figure>'; // wp_kses_post caption on update 
  5. echo '<div class="jetpack-image-container">' . do_shortcode( $output ) . '</div>'; 
  6.  
  7. echo "\n" . $after_widget; 
  8.