Developers

apply_filters( 'riff_turntable', bool $on )

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 ) ) );

Changelog

VersionDescription
5.8.0Introduced.