WP_User_Search::WP_User_Search()
PHP4 Constructor - Sets up the object properties.
Method of the class: WP_User_Search{}
No Hooks.
Return
WP_User_Search
.
Usage
$WP_User_Search = new WP_User_Search(); $WP_User_Search->WP_User_Search( $search_term, $page, $role );
- $search_term(string)
- Search terms string.
Default: '' - $page(int)
- Page ID.
Default: '' - $role(string)
- Role name.
Default: ''
Changelog
Since 2.1.0 | Introduced. |
WP_User_Search::WP_User_Search() WP User Search::WP User Search code WP 6.6.2
public function WP_User_Search( $search_term = '', $page = '', $role = '' ) { _deprecated_constructor( 'WP_User_Search', '3.1.0', get_class( $this ) ); self::__construct( $search_term, $page, $role ); }