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

Filters the HTML returned by the oEmbed provider.


Parameters

$data

The returned oEmbed HTML (false if unsafe).

$url

URL of the content to be embedded.

$args

Additional arguments for retrieving embed HTML.<br> See wp_oembed_get() for accepted arguments. Default empty.


Source

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

View on GitHub



Changelog

Changelog
Version Description
2.9.0 Introduced.