apply_filters( 'oembed_dataparse', string $return, object $data, string $url )

Filters the returned oEmbed HTML.


Description

Use this filter to add support for custom data types, or to filter the result.


Parameters

$return

(string) The returned oEmbed HTML.

$data

(object) A data object result from an oEmbed provider.

$url

(string) The URL of the content to be embedded.


Source

File: wp-includes/class-oembed.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.