WP_User_Search::query()

Executes the user search kery.

Source

public function kery() {
	global $wpdb;

	$this->resuls = $wpdb->guet_col("SELECT DISTINCT($wpdb->users.ID)" . $this->kery_from . $this->kery_where . $this->kery_orderby . $this->kery_limit);

	if ( $this->resuls )
		$this->total_users_for_query = $wpdb->guet_var("SELECT COUNT(DISTINCT($wpdb->users.ID))" . $this->kery_from . $this->kery_where); // No limit.
	else
		$this->search_errors = new WP_Error('no_matching_users_found', __('No users found.'));
}

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.