Fires before sites are retrieved.
Parameters
$query
WP_Site_Query- Current instance of WP_Site_Query (passed by reference).
Source
do_action_ref_array( 'pre_get_sites', array( &$this ) );
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
Fires before sites are retrieved.
$query
WP_Site_Querydo_action_ref_array( 'pre_get_sites', array( &$this ) );
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.