Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 3056 | /** * Filters the default audio shortcode output. * * If the filtered output isn't empty, it will be used instead of generating the default audio template. * * @since 3.6.0 * * @param string $html Empty variable to be replaced with shortcode markup. * @param array $attr Attributes of the shortcode. @see wp_audio_shortcode() * @param string $content Shortcode content. * @param int $instance Unique numeric ID of this audio shortcode instance. */ |
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. |