wphooks.info - get_site

get_site

The hook occurs in the following file:

wp-includes/ms-blogs.php:
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
		return null;
	}

	/**
	 * Fires after a site is retrieved.
	 *
	 * @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.
 *
 * @since 4.6.0
 * @access private