On this page
do_action( 'wp_playlist_scripts', string $type, string $style )
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
File: wp-includes/media.php. View all references
do_action( 'wp_playlist_scripts', $atts['type'], $atts['style'] );
Related
Used By
| Used By | Description |
|---|---|
| wp_playlist_shortcode() wp-includes/media.php | Builds the Playlist shortcode output. |
Changelog
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_playlist_scripts