do_action_ref_array( 'pre_get_sites', WP_Site_Query $query ) Fires before sites are retrieved. ContentsParameters Source Related Used By Changelog User Contributed Notes Parameters $query (WP_Site_Query) Current instance of WP_Site_Query (passed by reference). Top ↑Source File: wp-includes/class-wp-site-query.php View on Trac Top ↑Related Top ↑Used By Used By Used By Description wp-includes/class-wp-site-query.php: WP_Site_Query::get_sites() Retrieves a list of sites matching the query vars. Top ↑Changelog Changelog Version Description 4.6.0 Introduced. Top ↑User Contributed Notes You must log in before being able to contribute a note or feedback.