apply_filters( 'wp_embed_handler_audio', string $audio, array $attr, string $url, array $rawattr )
- Since
- 3.6.0
Filters the audio embed output.
Parameters
$audiostring- Audio embed output.
$attrarray- An array of embed attributes.
$urlstring- The original URL that was matched by the regex.
$rawattrarray- The original unmodified attributes.
Fired at · 1
wp-includes/embed.php:285wp_embed_handler_audio()
Source
* * @param string $audio Audio embed output. * @param array $attr An array of embed attributes. * @param string $url The original URL that was matched by the regex. * @param array $rawattr The original unmodified attributes. */ return apply_filters( 'wp_embed_handler_audio', $audio, $attr, $url, $rawattr );} /** * Video embed handler callback. * * @since 3.6.0History
Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.