<output>
The WordPress Core output shortcode.
Usage
- // assign value
- $output = 'dynamic_tag';
- // basic usage
- echo do_shortcode("[$output]");
- // assign value
- $output = 'dynamic_tag';
- // variable usage
- $result = do_shortcode("[$output]");
- echo $result;
Defined (1)
The shortcode is defined in the following location(s).
- /modules/widgets/image-widget.php
- $output = '<figure ' . $img_width .' class="wp-caption align' . esc_attr( $instance['align'] ) . '">
- ' . $output . '
- <figcaption class="wp-caption-text">' . $caption . '</figcaption>
- </figure>'; // wp_kses_post caption on update
- }
- echo '<div class="jetpack-image-container">' . do_shortcode( $output ) . '</div>';
- } else {
- if ( current_user_can( 'edit_theme_options' ) ) {
- echo '<p>' . sprintf( __( 'Image missing or invalid URL. Please check the Image widget URL in your <a href="%s">widget settings</a>.', 'jetpack' ), admin_url( 'widgets.php' ) ) . '</p>';
- }
- }