jetpack_embed_medium_args

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

Description

jetpack_embed_medium_args( $atts ); 

Parameters (1)

0. $atts
The atts.

Usage

  1. if ( !function_exists( 'jetpack_embed_medium_args' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/shortcodes/medium.php'; 
  3.  
  4. // The atts. 
  5. $atts = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jetpack_embed_medium_args($atts); 
  9.  

Defined (1)

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

/modules/shortcodes/medium.php  
  1. function jetpack_embed_medium_args( $atts ) { 
  2. return shortcode_atts( array( 
  3. 'url' => '',  
  4. 'width' => '400',  
  5. 'border' => true,  
  6. 'collapsed' => false,  
  7. ), $atts, 'medium' );