jetpack_audio_atts_handler

The Jetpack by WordPress.com jetpack audio atts handler function.

Description

jetpack_audio_atts_handler( $out, $pairs, $atts ); 

Parameters (3)

0. $out
The out.
1. $pairs
The pairs.
2. $atts
The atts.

Usage

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

Defined (1)

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

/modules/shortcodes.php  
  1. function jetpack_audio_atts_handler( $out, $pairs, $atts ) { 
  2. if( isset( $atts[0] ) ) 
  3. $out['src'] = $atts[0]; 
  4.  
  5. return $out;