Handles oEmbed caching via AJAX.
Source
function wp_ajax_oembed_cache() {
$GLOBALS['wp_embed']->cache_oembed( $_GET['post'] );
wp_die( 0 );
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
CARVIEW |
Handles oEmbed caching via AJAX.
function wp_ajax_oembed_cache() {
$GLOBALS['wp_embed']->cache_oembed( $_GET['post'] );
wp_die( 0 );
}
Uses | Description |
---|---|
wp_die()wp-includes/functions.php | Kills WordPress execution and displays HTML page with an error message. |
Version | Description |
---|---|
3.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.