On this page
apply_filters( 'embed_handler_html', string|false $return, string $url, array $attr )
Filters the returned embed HTML.
Description
See also
Parameters
$returnstring|false-
The HTML result of the shortcode, or false on failure.
$urlstring-
The embed URL.
$attrarray-
An array of shortcode attributes.
Source
File: wp-includes/class-wp-embed.php. View all references
return apply_filters( 'embed_handler_html', $return, $url, $attr );
Related
Used By
| Used By | Description |
|---|---|
| WP_Embed::get_embed_handler_html() wp-includes/class-wp-embed.php | Returns embed HTML for a given URL from embed handlers. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/embed_handler_html