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

Type of playlist. Possible values are 'audio' or 'video'.

$style

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