Summery Summery

Filters the default video shortcode output.

Syntax Syntax

apply_filters( 'wp_video_shortcode_override', string $html, array $attr, string $content, int $instance )

Description Description

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

Parameters Parameters


(string) Empty variable to be replaced with shortcode markup.


(array) Attributes of the shortcode. @see wp_video_shortcode()


(string) Video shortcode content.


(int) Unique numeric ID of this video shortcode instance.

Source Source

File: wp-includes/media.php


Changelog Changelog

Version Description
3.6.0 Introduced.

See also See also


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?