embed_handler_html WordPress Filter Hook
The embed_handler_html hook is called when an HTML embed is generated. The hook is passed the HTML for the embed, and the URL of the content being embedded.
apply_filters( 'embed_handler_html', string|false $return , string $url , array $attr ) #
Filters the returned embed HTML.
Description
See also
Parameters
- $return
(string|false)The HTML result of the shortcode, or false on failure.
- $url
(string)The embed URL.
- $attr
(array)An array of shortcode attributes.
Source
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |