Developers

apply_filters( 'riff_video_first', bool $video )

Whether a song that has a video opens as the video. A listener's own choice of the song or the video, and a browser that saves data, come first.

Parameters

$videobool
True to open as the video, false for the song.

More Information

Usage

add_filter( 'riff_video_first', function ( $video ) {
	return $video;
} );

Source

'video'      => (bool) apply_filters( 'riff_video_first', true ),

Changelog

VersionDescription
5.8.0Introduced.