On this page
apply_filters( 'wp_embed_handler_youtube', string $embed, array $attr, string $url, array $rawattr )
Filters the YoutTube embed output.
Description
See also
Parameters
$embedstring-
YouTube embed output.
$attrarray-
An array of embed attributes.
$urlstring-
The original URL that was matched by the regex.
$rawattrarray-
The original unmodified attributes.
Source
File: wp-includes/embed.php. View all references
return apply_filters( 'wp_embed_handler_youtube', $embed, $attr, $url, $rawattr );
Related
Used By
| Used By | Description |
|---|---|
| wp_embed_handler_youtube() wp-includes/embed.php | YouTube iframe embed handler callback. |
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_embed_handler_youtube