Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 3493 | /** * Filters the output of the video shortcode. * * @since 3.6.0 * * @param string $output Video shortcode HTML output. * @param array $atts Array of video shortcode attributes. * @param string $video Video file. * @param int $post_id Post ID. * @param string $library Media library used for the video shortcode. */ |
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. |