WP_Embed
API for easily embedding rich media such as videos and images into content.
API for easily embedding rich media such as videos and images into content.
Constructor
Passes any unlinked URLs that are on their own line to WP_Embed::shortcode() for potential embedding.
Callback function for WP_Embed::autoembed().
Triggers a caching of all oEmbed results.
Deletes all oEmbed caches. Unused by core as of 4.0.0.
Finds the oEmbed cache post ID for a given cache key.
Returns embed HTML for a given URL from embed handlers.
Conditionally makes a hyperlink based on an internal class variable.
If a post/page was saved, then output JavaScript to make an Ajax request that will call WP_Embed::cache_oembed().