beyondwords_player_sdk_params
Filters the BeyondWords Player SDK parameters.
This filter is only applied to the Latest player version. If you are using the Legacy player then please update to Latest player. The Legacy player will deprecated soon in plugin version 5.0.
Refer to the Player Settings for a the list of available parameters.
Parameters
$params
array
The SDK parameters.
$post_id
int
The post ID.
Example 1
Use a custom colour for the text in all players.
Example 2
Set the Advert consent parameter for all users.
Example 3
Use a blue icon colour for players in posts tagged with "News".
Example 4
Skip ads for signed-in users.
Changelog
Last updated