• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register

WordPress.org

  • Showcase
  • Learn
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
    • Five for the Future
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
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:232

Used by 1 function | Uses 0 functions

networks_clauses

Filter Hook: Filters the network query clauses.

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

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:502

Used by 1 function | Uses 3 functions

found_networks_query

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

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

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:531

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:554

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:585

Used by 1 function | Uses 0 functions

pre_get_networks

Action Hook: Fires before networks are retrieved.

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

Used by 1 function | Uses 0 functions

the_networks

Filter Hook: Filters the network query results.

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

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:325

Used by 1 function | Uses 11 functions

parse_network_query

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

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

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:175

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:188

Used by 1 function | Uses 14 functions

WP_Network_Query

Class: Core class used for querying networks.

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

Used by 0 functions | Uses 0 functions

WP_Network_Query::__construct()

Method: Constructor.

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

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:149

Used by 1 function | Uses 3 functions
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.