Core Function
View Source on Trac ↗ wp_playlist_shortcode()
wp_playlist_shortcode( mixed $attr ) Builds the Playlist shortcode output.
Parameters 1 required
| Name / Type | Description |
|---|---|
| array | $attr { Array of default playlist attributes. Required |
Return Value
(string)
Playlist output. Empty string if the passed type is unsupported.
Function Information
Since Version
3.9.0
Source File
wp-includes/media.php
Advertisement