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
  • Get WordPress
Get WordPress

Developer Resources

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

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

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

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

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

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

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

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

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

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

Used by 1 function | 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:936

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

Used by 1 function | Uses 19 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:735

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

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

Used by 1 function | Uses 7 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:826

Used by 1 function | Uses 0 functions

WP_User_Query::get()

Method: Retrieves query variable.

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

Used by 1 function | Uses 0 functions

WP_User_Query::set()

Method: Sets query variable.

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

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

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

Used by 0 functions | Uses 0 functions

WP_User_Query

Class: Core class used for querying users.

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

Used by 0 functions | Uses 0 functions

WP_User_Query::__construct()

Method: PHP5 constructor.

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

Used by 7 functions | 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