Filters whether Now Playing shows the record and the turntable. Off, it shows the cover on its own, and a touch screen on its side shows the cover beside the controls.
Parameters
$onbool- Whether it shows, from Settings › Media. Default true.
More Information
Usage
add_filter( 'riff_turntable', function ( $on ) {
return $on;
} );Source
return (bool) apply_filters( 'riff_turntable', rest_sanitize_boolean( get_option( self::OPTION, true ) ) );plugins/riff/src/class-turntable.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |