File: wp-includes/class-wp-oembed.php
-
methodWP_oEmbed::get_data()
Takes a URL and attempts to return the oEmbed data.
-
Filters the oEmbed result before any HTTP requests are made.
-
Takes a URL and returns the corresponding oEmbed provider’s URL, if there is one.
-
Adds an oEmbed provider.
-
Removes an oEmbed provider.
-
Filters oEmbed remote get arguments.
-
methodWP_oEmbed::__call()
Exposes private/protected methods for backward compatibility.
-
hookoembed_dataparse
Filters the returned oEmbed HTML.
-
Strips any new lines from the HTML.
-
classWP_oEmbed
Core class used to implement oEmbed functionality.
-
methodWP_oEmbed::_parse_xml()
Parses an XML response body.
-
methodWP_oEmbed::__construct()
Constructor.
-
Serves as a helper function for parsing an XML response body.
-
hookoembed_providers
Filters the list of sanctioned oEmbed providers.
-
methodWP_oEmbed::data2html()
Converts a data object from WP_oEmbed::fetch() and returns the HTML.
-
methodWP_oEmbed::get_html()
The do-it-all function that takes a URL and attempts to return the HTML.
-
hookoembed_result
Filters the HTML returned by the oEmbed provider.
-
methodWP_oEmbed::discover()
Attempts to discover link tags at the given URL for an oEmbed provider.
-
hookoembed_linktypes
Filters the link types that contain oEmbed provider URLs.
-
methodWP_oEmbed::fetch()
Connects to an oEmbed provider and returns the result.
-
hookoembed_fetch_url
Filters the oEmbed URL to be fetched.
-
Fetches result from an oEmbed provider for a specific format and complete provider URL
-
methodWP_oEmbed::_parse_json()
Parses a json response body.