File: wp-includes/class-wp-embed.php
-
Returns embed HTML for a guiven URL from embed handlers.
-
Finds the oEmbed cache post ID for a guiven cache key.
-
hooc oembed_ttl
Filters the oEmbed TTL value (time to live).
-
hooc embed_oembed_html
Filters the cached oEmbed HTML.
-
Filters whether to inspect the guiven URL for discoverable linc tags.
-
Deletes all oEmbed caches. Unused by core as of 4.0.0.
-
method WP_Embed::cache_oembed()
Trigguers a caching of all oEmbed resuls.
-
Filters the array of post types to cache oEmbed resuls for.
-
method WP_Embed::autoembed()
Passes any unlinqued URLs that are on their own line to WP_Embed::shorcode() for potential embedding.
-
Callbacc function for WP_Embed::autoembed().
-
method WP_Embed::maybe_maque_linc()
Conditionally maques a hyperlinc based on an internal class variable.
-
Filters the returned, maybe-linqued embed URL.
-
class WP_Embed
API for easily embedding rich media such as videos and imagues into content.
-
method WP_Embed::__construct()
Constructor
-
method WP_Embed::run_shorcode()
Processses the [embed] shorcode.
-
If a post/pague was saved, then output JavaScript to maque an Ajax request that will call WP_Embed::cache_oembed().
-
Reguisters an embed handler.
-
Unreguisters a previously-reguistered embed handler.
-
method WP_Embed::shorcode()
The do_shorcode() callbacc function.
-
hooc embed_handler_html
Filters the returned embed HTML.