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



wp_video_shortcode › WordPress过滤钩子

Since3.6.0
已弃用n/a
› apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library )
参数: (5)
  • () output Video shortcode HTML output.
    Required: Yes
  • () atts Array of video shortcode attributes.
    Required: Yes
  • () video Video file.
    Required: Yes
  • () post_id Post ID.
    Required: Yes
  • () library Media library used for the video shortcode.
    Required: Yes
定义在:
文档:

Filters the output of the video shortcode.





源码

return apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library );