wp_ajax_oembed_cache
Ajax handler for oEmbed caching.
Description
wp_ajax_oembed_cache();
Usage
if ( !function_exists( 'wp_ajax_oembed_cache' ) ) { require_once ABSPATH . '/wp-admin/includes/ajax-actions.php'; } // NOTICE! Understand what this does before running. $result = wp_ajax_oembed_cache();
Defined (1)
The function is defined in the following location(s).
- /wp-admin/includes/ajax-actions.php
- function wp_ajax_oembed_cache() {
- $GLOBALS[wp_embed]->cache_oembed( $_GET['post'] );
- wp_die( 0 );
- }