wpsc_ajax_get_preload_status()
Serves an AJAX endpoint to return the current state of the preload process.
No Hooks.
Returns
null
. Nothing (null).
Usage
wpsc_ajax_get_preload_status();
wpsc_ajax_get_preload_status() wpsc ajax get preload status code WPSCache 3.0.0
function wpsc_ajax_get_preload_status() { $preload_status = wpsc_get_preload_status( true ); wp_send_json_success( $preload_status ); }