do_action( 'wp_playlist_scripts', string $type, string $style )

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


Description


Parameters

$type

(string) Type of playlist. Possible values are 'audio' or 'video'.

$style

(string) The 'theme' for the playlist. Core provides 'light' and 'dark'.


Top ↑

Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog

Version Description
3.9.0 Introduced.