A WordPress-centric search engine for devs and theme authors



wp_video_shortcode ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library )
Parameters: (5)
  • (string) $output Video shortcode HTML output.
    Required: Yes
  • (array) $atts Array of video shortcode attributes.
    Required: Yes
  • (string) $video Video file.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string) $library Media library used for the video shortcode.
    Required: Yes
Defined at:
Codex:

Filters the output of the video shortcode.





Source

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