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
- $html
-
Empty variable to be replaced with shortcode markup.
- $attr
-
Attributes of the shortcode. @see wp_video_shortcode()
- $content
-
Video shortcode content.
- $instance
-
Unique numeric ID of this video shortcode instance.
Source
File: wp-includes/media.php
Changelog
Version | Description |
---|---|
WP-3.6.0 | Introduced. |