Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-network-query.php

networks_pre_query

Filter Hook: Filters the network data before the query takes place.

Source: wp-includes/class-wp-network-query.php:233

Used by 1 function | Uses 0 functions

found_networks_query

Filter Hook: Filters the query used to retrieve found network count.

Source: wp-includes/class-wp-network-query.php:522

Used by 1 function | Uses 0 functions

WP_Network_Query::get_search_sql()

Method: Used internally to generate an SQL string for searching across multiple columns.

Source: wp-includes/class-wp-network-query.php:539

Used by 1 function | Uses 2 functions

WP_Network_Query::parse_orderby()

Method: Parses and sanitizes ‘orderby’ keys passed to the network query.

Source: wp-includes/class-wp-network-query.php:562

Used by 1 function | Uses 0 functions

WP_Network_Query::parse_order()

Method: Parses an ‘order’ query variable and cast it to ‘ASC’ or ‘DESC’ as necessary.

Source: wp-includes/class-wp-network-query.php:593

Used by 1 function | Uses 0 functions

networks_clauses

Filter Hook: Filters the network query clauses.

Source: wp-includes/class-wp-network-query.php:452

Used by 1 function | Uses 0 functions

WP_Network_Query::set_found_networks()

Method: Populates found_networks and max_num_pages properties for the current query if the limit clause was used.

Source: wp-includes/class-wp-network-query.php:510

Used by 1 function | Uses 2 functions

parse_network_query

Action Hook: Fires after the network query vars have been parsed.

Source: wp-includes/class-wp-network-query.php:164

Used by 1 function | Uses 0 functions

WP_Network_Query::query()

Method: Sets up the WordPress query for retrieving networks.

Source: wp-includes/class-wp-network-query.php:176

Used by 1 function | Uses 2 functions

WP_Network_Query::get_networks()

Method: Gets a list of networks matching the query vars.

Source: wp-includes/class-wp-network-query.php:189

Used by 1 function | Uses 11 functions

pre_get_networks

Action Hook: Fires before networks are retrieved.

Source: wp-includes/class-wp-network-query.php:199

Used by 1 function | Uses 0 functions

the_networks

Filter Hook: Filters the network query results.

Source: wp-includes/class-wp-network-query.php:309

Used by 1 function | Uses 0 functions

WP_Network_Query::get_network_ids()

Method: Used internally to get a list of network IDs matching the query vars.

Source: wp-includes/class-wp-network-query.php:326

Used by 1 function | Uses 10 functions

WP_Network_Query

Class: Core class used for querying networks.

Source: wp-includes/class-wp-network-query.php:18

Used by 0 functions | Uses 0 functions

WP_Network_Query::__construct()

Method: Constructor.

Source: wp-includes/class-wp-network-query.php:117

Used by 2 functions | Uses 1 function

WP_Network_Query::parse_query()

Method: Parses arguments passed to the network query with default query parameters.

Source: wp-includes/class-wp-network-query.php:150

Used by 1 function | Uses 2 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry