wpcom_vimeo_embed_url_init

For bare URLs on their own line of the form http://vimeo.com/12345.

Description

wpcom_vimeo_embed_url_init(); 

Usage

  1. if ( !function_exists( 'wpcom_vimeo_embed_url_init' ) ) { 
  2. require_once '/modules/shortcodes/vimeo.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcom_vimeo_embed_url_init(); 
  7.  

Defined (1)

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

/modules/shortcodes/vimeo.php  
  1. function wpcom_vimeo_embed_url_init() { 
  2. wp_embed_register_handler( 'wpcom_vimeo_embed_url', '#https?://(.+\.)?vimeo\.com/#i', 'wpcom_vimeo_embed_url' );