jetpack_embed_medium_oembed

The Jetpack by WordPress.com jetpack embed medium oembed function.

Description

jetpack_embed_medium_oembed( $matches, $attr, $url ); 

Parameters (3)

0. $matches
The matches.
1. $attr
The attr.
2. $url
The url.

Usage

  1. if ( !function_exists( 'jetpack_embed_medium_oembed' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/shortcodes/medium.php'; 
  3.  
  4. // The matches. 
  5. $matches = null; 
  6.  
  7. // The attr. 
  8. $attr = null; 
  9.  
  10. // The url. 
  11. $url = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = jetpack_embed_medium_oembed($matches, $attr, $url); 
  15.  

Defined (1)

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

/modules/shortcodes/medium.php  
  1. function jetpack_embed_medium_oembed( $matches, $attr, $url ) { 
  2. $attr = jetpack_embed_medium_args( $attr ); 
  3. $attr['url'] = $url; 
  4.