clean_site_cache

clean_site_cache

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('clean_site_cache') is found 1 times:

  • /wp-includes/ms-site.php line 1011
    	 * @param string  $id              Site ID as a numeric string.
    	 * @param WP_Site $blog            Site object.
    	 * @param string  $domain_path_key md5 hash of domain and path.
    	 */
    	do_action( 'clean_site_cache', $blog_id, $blog, $domain_path_key );
    
    	wp_cache_set_sites_last_changed();
    
    	/**
    	 * Fires after the blog details cache is cleared.
    	 *
    

See this hook used in plugins: