Filters the data handed to the player script: strings, and the addresses of scripts a feature wants loaded, such as the Listen feature's app on the page that holds its block.
Parameters
$dataarray- Data.
More Information
Usage
add_filter( 'riff_player_data', function ( $data ) {
return $data;
} );Source
$data = (array) apply_filters( 'riff_player_data', $data );plugins/riff/src/class-player.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |