• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/class-wp-user-query.php

users_pre_query

Filter Hook: Filters the users array before the query takes place.

Source: wp-includes/class-wp-user-query.php:800

Used by 1 function | Uses 0 functions

WP_User_Query::fill_query_vars()

Method: Fills in missing query variables with default values.

Source: wp-includes/class-wp-user-query.php:90

Used by 1 function | Uses 2 functions

WP_User_Query::parse_orderby()

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

Source: wp-includes/class-wp-user-query.php:953

Used by 1 function | Uses 4 functions

WP_User_Query::parse_order()

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

Source: wp-includes/class-wp-user-query.php:1010

Used by 1 function | Uses 0 functions

WP_User_Query::__get()

Method: Makes private properties readable for backward compatibility.

Source: wp-includes/class-wp-user-query.php:1030

Used by 0 functions | Uses 0 functions

WP_User_Query::__set()

Method: Makes private properties settable for backward compatibility.

Source: wp-includes/class-wp-user-query.php:1045

Used by 0 functions | Uses 0 functions

WP_User_Query::__isset()

Method: Makes private properties checkable for backward compatibility.

Source: wp-includes/class-wp-user-query.php:1059

Used by 0 functions | Uses 0 functions

WP_User_Query::__unset()

Method: Makes private properties un-settable for backward compatibility.

Source: wp-includes/class-wp-user-query.php:1072

Used by 0 functions | Uses 0 functions

WP_User_Query::__call()

Method: Makes private/protected methods readable for backward compatibility.

Source: wp-includes/class-wp-user-query.php:1087

Used by 0 functions | Uses 1 function

pre_get_users

Action Hook: Fires before the WP_User_Query has been parsed.

Source: wp-includes/class-wp-user-query.php:276

Used by 1 function | Uses 0 functions

user_search_columns

Filter Hook: Filters the columns to search in a WP_User_Query search.

Source: wp-includes/class-wp-user-query.php:738

Used by 1 function | Uses 0 functions

pre_user_query

Action Hook: Fires after the WP_User_Query has been parsed, and before the query is executed.

Source: wp-includes/class-wp-user-query.php:769

Used by 1 function | Uses 0 functions

WP_User_Query::query()

Method: Executes the query, with the current variables.

Source: wp-includes/class-wp-user-query.php:779

Used by 1 function | Uses 9 functions

found_users_query

Filter Hook: Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.

Source: wp-includes/class-wp-user-query.php:829

Used by 1 function | Uses 0 functions

WP_User_Query::get()

Method: Retrieves query variable.

Source: wp-includes/class-wp-user-query.php:869

Used by 1 function | Uses 0 functions

WP_User_Query::set()

Method: Sets query variable.

Source: wp-includes/class-wp-user-query.php:885

Used by 0 functions | Uses 0 functions

WP_User_Query::get_search_sql()

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

Source: wp-includes/class-wp-user-query.php:902

Used by 2 functions | Uses 2 functions

WP_User_Query::get_results()

Method: Returns the list of users.

Source: wp-includes/class-wp-user-query.php:928

Used by 0 functions | Uses 0 functions

WP_User_Query::get_total()

Method: Returns the total number of users for the current query.

Source: wp-includes/class-wp-user-query.php:939

Used by 0 functions | Uses 0 functions

WP_User_Query::prepare_query()

Method: Prepares the query variables.

Source: wp-includes/class-wp-user-query.php:258

Used by 1 function | Uses 22 functions

WP_User_Query

Class: Core class used for querying users.

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

Used by 0 functions | Uses 0 functions

WP_User_Query::__construct()

Method: PHP5 constructor.

Source: wp-includes/class-wp-user-query.php:75

Used by 7 functions | Uses 2 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • 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
Code is Poetry