beyondwords_player_html
Filters the HTML of the BeyondWords Player.
speechkit_js_player_html
and beyondwords_js_player_html
are deprecated and both redirect to here. Please update to the new filter name; the functionality is exactly the same. The old filters were removed in version 4.0.0.
Parameters
$html
string
The HTML for the audio player. The audio player JavaScript may fail to locate the target element if you remove or replace the default contents of this parameter.
$post_id
int
WordPress post ID.
$project_id
string
BeyondWords project ID.
$content_id
string
BeyondWords content ID.
Example 1
Wrap the player in a container div.
Example 2
Only show the player for signed-in users.
Changelog
4.3.0
This filter now applies to both AMP and non-AMP content.
4.0.0
Deprecate beyondwords_js_player_html
for beyondwords_player_html
.
3.7.0
Deprecatespeechkit_js_player_html
for beyondwords_js_player_html
.
3.1.0
Introduced.
Last updated