get_site WordPress Filter Hook
The get_site Wordpress hook is used to get a site object from the database. It is used to get information about a site from the WordPress database.
apply_filters( 'get_site', WP_Site $_site ) #
Fires after a site is retrieved.
Parameters
- $_site
(WP_Site)Site data.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |