do_action( ‘wp_playlist_scripts’, string $type, string $style )

In this article

Prints and enqueues playlist scripts, styles, and JavaScript templates.

Parameters

$typestring
Type of playlist. Possible values are 'audio' or 'video'.
$stylestring
The 'theme' for the playlist. Core provides 'light' and 'dark'.

Source

do_action( 'wp_playlist_scripts', $atts['type'], $atts['style'] );

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.