wp_cache_cleared хук-событиеWPSCache 1.0

Использование

add_action( 'wp_cache_cleared', 'wp_kama_cache_cleared_action' );

/**
 * Function for `wp_cache_cleared` action-hook.
 * 
 * @return void
 */
function wp_kama_cache_cleared_action(){

	// action...
}

Где вызывается хук

wp_cache_clean_cache()
wp_cache_cleared
wp_cache_phase2_clean_cache()
wp_cache_cleared
wp_cache_clear_cache()
wp_cache_cleared
wp_cache_post_edit()
wp_cache_cleared
wp-super-cache/wp-cache.php 2756
do_action( 'wp_cache_cleared' );
wp-super-cache/wp-cache-phase2.php 2609
do_action( 'wp_cache_cleared' );
wp-super-cache/wp-cache-phase2.php 3060
do_action( 'wp_cache_cleared' );
wp-super-cache/wp-cache-phase2.php 3212
do_action( 'wp_cache_cleared' );

Где используется хук в WP Super Cache

Использование не найдено.