wphooks.info - oembed_dataparse

oembed_dataparse

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-oembed.php:
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
		 * Filters the returned oEmbed HTML.
		 *
		 * Use this filter to add support for custom data types, or to filter the result.
		 *
		 * @since 2.9.0
		 *
		 * @param string $return The returned oEmbed HTML.
		 * @param object $data   A data object result from an oEmbed provider.
		 * @param string $url    The URL of the content to be embedded.
		 */
		return apply_filters( 'oembed_dataparse', $return, $data, $url );
	}

	/**
	 * Strips any new lines from the HTML.
	 *
	 * @since 2.9.0 as strip_scribd_newlines()
	 * @since 3.0.0
	 *
	 * @param string $html Existing HTML.