File: wp-includes/class-wp-user-query.php
-
Generate cache key.
-
hookusers_pre_query
Filters the users array before the query takes place.
-
Fills in missing query variables with default values.
-
Parses and sanitizes ‘orderby’ keys passed to the user query.
-
Parses an ‘order’ query variable and casts it to ASC or DESC as necessary.
-
methodWP_User_Query::__get()
Makes private properties readable for backward compatibility.
-
methodWP_User_Query::__set()
Makes private properties settable for backward compatibility.
-
methodWP_User_Query::__isset()
Makes private properties checkable for backward compatibility.
-
methodWP_User_Query::__unset()
Makes private properties un-settable for backward compatibility.
-
methodWP_User_Query::__call()
Makes private/protected methods readable for backward compatibility.
-
hookpre_get_users
Fires before the WP_User_Query has been parsed.
-
Returns the total number of users for the current query.
-
Prepares the query variables.
-
Filters the columns to search in a WP_User_Query search.
-
hookpre_user_query
Fires after the WP_User_Query has been parsed, and before the query is executed.
-
methodWP_User_Query::query()
Executes the query, with the current variables.
-
Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
-
methodWP_User_Query::get()
Retrieves query variable.
-
methodWP_User_Query::set()
Sets query variable.
-
Used internally to generate an SQL string for searching across multiple columns.
-
Returns the list of users.
-
classWP_User_Query
Core class used for querying users.
-
Constructor.