On this page
apply_filters( 'wp_video_shortcode', string $output, array $atts, string $video, int $post_id, string $library )
Filters the output of the video shortcode.
Parameters
$outputstring-
Video shortcode HTML output.
$attsarray-
Array of video shortcode attributes.
$videostring-
Video file.
$post_idint-
Post ID.
$librarystring-
Media library used for the video shortcode.
Source
File: wp-includes/media.php. View all references
return apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library );
Related
Used By
| Used By | Description |
|---|---|
| wp_video_shortcode() wp-includes/media.php | Builds the Video shortcode output. |
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_video_shortcode