@package: oEmbed
-
hookpost_embed_url
Filters the URL to embed a specific post.
-
functionget_oembed_endpoint_url()
Retrieves the oEmbed endpoint URL for a given permalink.
-
Filters the oEmbed endpoint URL.
-
functionget_post_embed_html()
Retrieves the embed code for a specific post.
-
hookembed_html
Filters the embed HTML output for a given post.
-
functionget_oembed_response_data()
Retrieves the oEmbed response data for a given post.
-
Filters the allowed minimum and maximum widths for the oEmbed response.
-
Filters the oEmbed response data.
-
functionwp_oembed_register_route()
Registers the oEmbed REST API route.
-
Filters the site title HTML in the embed footer.
-
Filters oEmbed remote get arguments.
-
Takes a URL and returns the corresponding oEmbed provider’s URL, if there is one.
-
Adds an oEmbed provider.
-
Removes an oEmbed provider.
-
methodWP_oEmbed::__call()
Exposes private/protected methods for backward compatibility.
-
Filters the YouTube embed output.
-
functionwp_embed_handler_youtube()
YouTube iframe embed handler callback.
-
hookoembed_dataparse
Filters the returned oEmbed HTML.
-
Strips any new lines from the HTML.
-
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.
-
methodWP_oEmbed::_parse_xml()
Parses an XML response body.
-
Serves as a helper function for parsing an XML response body.
-
methodWP_oEmbed::data2html()
Converts a data object from WP_oEmbed::fetch() and returns the HTML.
-
classWP_oEmbed
Core class used to implement oEmbed functionality.
-
methodWP_oEmbed::__construct()
Constructor.
-
hookoembed_providers
Filters the list of sanctioned oEmbed providers.