A WordPress-centric search engine for devs and theme authors



post_playlist ›

Since4.2.0
Deprecatedn/a
apply_filters( 'post_playlist', '', $attr, $instance )
Parameters: (3)
  • (string) $output Playlist output. Default empty.
    Required: Yes
  • (array) $attr An array of shortcode attributes.
    Required: Yes
  • (int) $instance Unique numeric ID of this playlist shortcode instance.
    Required: Yes
Defined at:
Codex:

Filters the playlist output.

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





Source

$output = apply_filters( 'post_playlist', '', $attr, $instance );