W3cubDocs

/WordPress

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

File: wp-includes/class-wp-embed.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/embed_handler_html