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

Top ↑

See also


Top ↑

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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.