WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about oembed_result

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-oembed-controller.php apply_filters 226 /**
* Callback for the proxy API endpoint.
*
* Returns the JSON object for the proxied item.
*
* @since 4.8.0
*
* @see WP_oEmbed::get_html()
* @global WP_Embed $wp_embed
*
* @param WP_REST_Request $request Full data about the request.
* @return object|WP_Error oEmbed response data or WP_Error on failure.
*/
wp-includes/class-wp-oembed.php apply_filters 420 /**
* Filters the HTML returned by the oEmbed provider.
*
* @since 2.9.0
*
* @param string|false $data The returned oEmbed HTML (false if unsafe).
* @param string $url URL of the content to be embedded.
* @param string|array $args Optional. Additional arguments for retrieving embed HTML.
* See wp_oembed_get() for accepted arguments. Default empty.
*/

Hook Parameters

Parameter Type Name Description
string|false $data The returned oEmbed HTML (false if unsafe).
string $url URL of the content to be embedded.
string|array $args Optional. Additional arguments for retrieving embed HTML.