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.


Top ↑

Source

File: wp-includes/embed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.