WordPress at Your Fingertips
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_6668', 10, 3 );
function filter_function_name_6668( $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.


Since 2.9.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

wp-includes/class-wp-oembed.php 213
add_filter( 'oembed_dataparse', array( $this, '_strip_newlines' ), 10, 3 );
wp-includes/default-filters.php 653
add_filter( 'oembed_dataparse', 'wp_filter_oembed_iframe_title_attribute', 5, 3 );
wp-includes/default-filters.php 654
add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 );