ID.'" data-nonce="'.wp_create_nonce('clear-cache_'.$post->ID).'" id="wpfc-clear-cache-link-'.$post->ID.'" style="cursor:pointer;">' . __('Clear Cache') . ''; return $actions; } public function clear_cache_column(){ if(wp_verify_nonce($_GET["nonce"], 'clear-cache_'.$_GET["id"])){ $GLOBALS["wp_fastest_cache"]->singleDeleteCache(false, esc_sql($_GET["id"])); die(json_encode(array("success" => true))); }else{ die(json_encode(array("success" => false))); } } public function load_js(){ wp_enqueue_script("wpfc-column", plugins_url("wp-fastest-cache/js/column.js"), array(), time(), true); } } ?>