wpseek.com
A WordPress-centric search engine for devs and theme authors



the_sites › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters_ref_array( 'the_sites', array( $_sites, &$this )
Parameters: (2)
  • (WP_Site[]) $_sites An array of WP_Site objects.
    Required: Yes
  • (WP_Site_Query) $query Current instance of WP_Site_Query (passed by reference).
    Required: Yes
Defined at:
Codex:

Filters the site query results.





Source

$_sites = apply_filters_ref_array( 'the_sites', array( $_sites, &$this ) );