PHP4 Constructor – Sets up the object properties.
Parameters
$search_term
stringoptional- Search terms string.
Default:
''
$page
intoptional- Page ID.
Default:
''
$role
stringoptional- Role name.
Default:
''
Source
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 );
}
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.