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

Filters the default video shortcode output.

Description

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

See also

Parameters

$htmlstring
Empty variable to be replaced with shortcode markup.
$attrarray
Attributes of the shortcode. See wp_video_shortcode().
$contentstring
Video shortcode content.
$instanceint
Unique numeric ID of this video shortcode instance.

Source

* @param string $content  Video shortcode content.

Changelog

VersionDescription
3.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.