vine

The Jetpack by WordPress.com vine shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[vine]'); 
  1. // variable usage 
  2. $result = do_shortcode('[vine]'); 
  3. echo $result;  

Defined (1)

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

/modules/shortcodes/vine.php  
  1. if ( ! preg_match( '#https?://vine.co/v/([a-z0-9]+).*#i', $atts['url'] ) ) 
  2. return ''; 
  3.  
  4. return $wp_embed->shortcode( $atts, $atts['url'] ); 
  5. add_shortcode( 'vine', 'vine_shortcode' );