wppaste
WordPress

WP_User_Search

Since
2.1.0
Source
wp-admin/includes/deprecated.php:339
WordPress User Search class.

Hooks fired · 1

Every hook that fires from inside WP_User_Search, in the order it appears in the class, grouped by the method that fires it.

Properties · 16

$resultsmixedpublic
}
$search_termstringpublic
}
$pageintpublic
Page number.
$rolestringpublic
Role name that users have.
$raw_pageint|boolpublic
Raw page number.
$users_per_pageintpublic
Amount of users to display per page.
$first_userintpublic
}
$last_userintpublic
}
$query_limitstringpublic
}
$query_orderbystringpublic
}
$query_fromstringpublic
}
$query_wherestringpublic
}
$total_users_for_queryintpublic
}
$too_many_total_usersboolpublic
}
$search_errorsWP_Errorpublic
}
$paging_textstringpublic
}

Methods · 10

Source

class WP_User_Search { 	/**	 * {@internal Missing Description}}	 *	 * @since 2.1.0	 * @access private	 * @var mixed	 */	var $results; 	/**	 * {@internal Missing Description}}	 *	 * @since 2.1.0	 * @access private	 * @var string	 */	var $search_term; 	/**	 * Page number.	 *	 * @since 2.1.0	 * @access private	 * @var int	 */	var $page; 	/**	 * Role name that users have.	 *	 * @since 2.5.0	 * @access private	 * @var string	 */	var $role; 	/**	 * Raw page number.	 *	 * @since 2.1.0	 * @access private	 * @var int|bool	 */	var $raw_page; 	/**	 * Amount of users to display per page.	 *	 * @since 2.1.0	 * @access public	 * @var int	 */	var $users_per_page = 50; 	/**	 * {@internal Missing Description}}	 *	 * @since 2.1.0	 * @access private	 * @var int	 */	var $first_user; 	/**	 * {@internal Missing Description}}	 *	 * @since 2.1.0	 * @access private	 * @var int	 */	var $last_user; 	/**	 * {@internal Missing Description}}	 *	 * @since 2.1.0	 * @access private	 * @var string

History

Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

3.1.0
Deprecated. Use WP_User_Queryfrom the docblock
2.1.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-admin/includes/deprecated.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.