vimeo

The Jetpack by WordPress.com vimeo shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/vimeo.php  
  1. $html = apply_filters( 'video_embed_html', $html ); 
  2.  
  3. return $html; 
  4.  
  5. add_shortcode( 'vimeo', 'vimeo_shortcode' ); 
  6.  
  7. function vimeo_embed_to_shortcode( $content ) { 
  8. if ( false === stripos( $content, 'player.vimeo.com/video/' ) ) 
  9. return $content; 
  10.