wpseek.com
WordPress开发者和主题制作者的搜索引擎



post_playlist › WordPress过滤钩子

Since4.2.0
已弃用n/a
› apply_filters( 'post_playlist', '', $attr, $instance )
参数: (3)
  • () output Playlist output. Default empty.
    Required: Yes
  • () attr An array of shortcode attributes.
    Required: Yes
  • () instance Unique numeric ID of this playlist shortcode instance.
    Required: Yes
定义在:
文档:

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.




源码

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