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



wp_video_shortcode_override › WordPress过滤钩子

Since3.6.0
已弃用n/a
› apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance )
参数: (4)
  • () html Empty variable to be replaced with shortcode markup.
    Required: Yes
  • () attr Attributes of the shortcode. See {@see \wp_video_shortcode()}.
    Required: Yes
  • () content Video shortcode content.
    Required: Yes
  • () instance Unique numeric ID of this video shortcode instance.
    Required: Yes
查看:
  • wp_video_shortcode()
定义在:
文档:

Filters the default video shortcode output.

If the filtered output isn't empty, it will be used instead of generating the default video template.




源码

$override = apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance );