wp_audio_embed_handler WordPress Filter Hook
The wp_audio_embed_handler hook allows you to modify the way that WordPress generates an audio player for an audio file. This can be used to change the player interface, or to add additional features to the player.
apply_filters( 'wp_audio_embed_handler', callable $handler ) #
Filters the audio embed handler callback.
Parameters
- $handler
(callable)Audio embed handler callback function.
Source
File: wp-includes/embed.php
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |