Prints and enqueues playlist scripts, styles, and JavaScript templates.
Parameters
$type
string- Type of playlist. Possible values are
'audio'
or'video'
. $style
string- The
'theme'
for the playlist. Core provides'light'
and'dark'
.
Source
foreach ( $attachments as $attachment ) {
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.