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.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.