wp_playlist_scripts

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters 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 Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.