WordPress at Your Fingertips
function is not described

wp_ajax_oembed_cache() WP 3.1.0

Ajax handler for oEmbed caching.

No Hooks.

Return

null. Nothing.

Usage

wp_ajax_oembed_cache();

Notes

  • Global. WP_Embed. $wp_embed

Changelog

Since 3.1.0 Introduced.

Code of wp_ajax_oembed_cache() WP 5.8.2

function wp_ajax_oembed_cache() {
	$GLOBALS['wp_embed']->cache_oembed( $_GET['post'] );
	wp_die( 0 );
}