W3cubDocs

/WordPress

apply_filters( 'oembed_result', string|false $data, string $url, array $args )

Filters the HTML returned by the oEmbed provider.

Parameters

$data

(string|false) The returned oEmbed HTML (false if unsafe).

$url

(string) URL of the content to be embedded.

$args

(array) arguments, usually passed from a shortcode.

Source

File: wp-includes/class-wp-oembed.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/oembed_result