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.7.2

do_action('clean_site_cache') is found 1 times:

  • /wp-includes/ms-site.php line 1007
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    * @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: