WordPress at a glance
filter is not described

oembed_dataparse filter-hook . WP 2.9.0

Filters the returned oEmbed HTML.

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


add_filter( 'oembed_dataparse', 'filter_function_name_4632', 10, 3 );
function filter_function_name_4632( $return, $data, $url ){
	// filter...

	return $return;
The returned oEmbed HTML.
A data object result from an oEmbed provider.
The URL of the content to be embedded.

Where the hook is called

wp-includes/class-oembed.php 686
return apply_filters( 'oembed_dataparse', $return, $data, $url );

Where the hook is used (in WP core)

wp-includes/class-oembed.php 224
add_filter( 'oembed_dataparse', array($this, '_strip_newlines'), 10, 3 );
wp-includes/default-filters.php 560
add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 );