Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 3278 | /** * Filters the default video shortcode output. * * If the filtered output isn't empty, it will be used instead of generating * the default video template. * * @since 3.6.0 * * @see wp_video_shortcode() * * @param string $html Empty variable to be replaced with shortcode markup. * @param array $attr Attributes of the shortcode. @see wp_video_shortcode() * @param string $content Video shortcode content. * @param int $instance Unique numeric ID of this video shortcode instance. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $html | Empty variable to be replaced with shortcode markup. |
array | $attr | Attributes of the shortcode. @see wp_video_shortcode() |
string | $content | Video shortcode content. |
int | $instance | Unique numeric ID of this video shortcode instance. |