A little more abstraction in the WP_oEmbed class
|Reported by:||johnbillion||Owned by:|
The logic for determining the oEmbed provider for a given URL is contained within the get_html() method of the WP_oEmbed class.
I'd like to be able to determine whether or not a given URL has a supported oEmbed provider. There's no method in the WP_oEmbed class to do this, and I've copied the logic from get_html() into my own function.
Patch coming up shortly.