post_playlist

Advertisement

Summery Summery

Filters the playlist output.

Syntax Syntax

apply_filters( 'post_playlist', string $output, array $attr, int $instance )

Description Description

Passing a non-empty value to the filter will short-circuit generation of the default playlist output, returning the passed value instead.

Parameters Parameters

$output

(string) Playlist output. Default empty.

$attr

(array) An array of shortcode attributes.

$instance

(int) Unique numeric ID of this playlist shortcode instance.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 The $instance parameter was added.
3.9.0 Introduced.

Advertisement

Leave a Reply

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