wpsc_after_delete_cache_admin_bar action-hookWPSCache 1.9

Hook into the cache deletion process after a successful cache deletion from the admin bar button.

Usage

add_action( 'wpsc_after_delete_cache_admin_bar', 'wp_kama_wpsc_after_delete_cache_admin_bar_action', 10, 2 );

/**
 * Function for `wpsc_after_delete_cache_admin_bar` action-hook.
 * 
 * @param string $req_path Path of the page where the cache flush was requested.
 * @param string $referer  Referer URL.
 *
 * @return void
 */
function wp_kama_wpsc_after_delete_cache_admin_bar_action( $req_path, $referer ){

	// action...
}
$req_path(string)
Path of the page where the cache flush was requested.
$referer(string)
Referer URL.

Changelog

Since 1.9 Introduced.

Where the hook is called

wpsc_admin_bar_delete_cache()
wpsc_after_delete_cache_admin_bar
wp-super-cache/inc/delete-cache-button.php 128
do_action( 'wpsc_after_delete_cache_admin_bar', $req_path, $referer );

Where the hook is used in WP Super Cache

Usage not found.