A little more abstraction in the WP_oEmbed class
|Reported by:||johnbillion||Owned by:||johnbillion|
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.
Change History (7)
2 years ago
- Keywords needs-docs removed
- Milestone changed from Awaiting Review to Future Release
- Milestone changed from Future Release to 4.0
- Owner set to johnbillion
- Status changed from new to reviewing