WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about wp_audio_shortcode

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/media.php apply_filters 3205 /**
* Filters the audio shortcode output.
* @since 3.6.0
* @param string $html Audio shortcode HTML output.
* @param array $atts Array of audio shortcode attributes.
* @param string $audio Audio file.
* @param int $post_id Post ID.
* @param string $library Media library used for the audio shortcode.

Hook Parameters

Parameter Type Name Description
string $html Empty variable to be replaced with shortcode markup.
array $attr Attributes of the shortcode. @see wp_audio_shortcode()
string $content Shortcode content.
int $instance Unique numeric ID of this audio shortcode instance.