wordpress / latest / hooks / wp_embed_handler_audio.html

apply_filters( 'wp_embed_handler_audio', string $audio, array $attr, string $url, array $rawattr )

Filters the audio embed output.

Parameters

$audio string
Audio embed output.
$attr array
An array of embed attributes.
$url string
The original URL that was matched by the regex.
$rawattr array
The original unmodified attributes.

Source

File: wp-includes/embed.php. View all references

return apply_filters( 'wp_embed_handler_audio', $audio, $attr, $url, $rawattr );

Changelog

Version Description
3.6.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_embed_handler_audio