get_site

get_site

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_site') is found 1 times:

  • /wp-includes/ms-site.php line 334
    	 * @since 4.6.0
    	 *
    	 * @param WP_Site $_site Site data.
    	 */
    	$_site = apply_filters( 'get_site', $_site );
    
    	return $_site;
    }
    
    /**
     * Adds any sites from the given IDs to the cache that do not already exist in cache.