Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 2751 | /** * Filters the playlist output. * * Returning a non-empty value from the filter will short-circuit generation * of the default playlist output, returning the passed value instead. * * @since 3.9.0 * @since 4.2.0 The `$instance` parameter was added. * * @param string $output Playlist output. Default empty. * @param array $attr An array of shortcode attributes. * @param int $instance Unique numeric ID of this playlist shortcode instance. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $output | Playlist output. Default empty. |
array | $attr | An array of shortcode attributes. |
int | $instance | Unique numeric ID of this playlist shortcode instance. |