WP_User_Search::WP_User_Search( string $search_term = , int $page = , string $role =  ): WP_User_Search

In this article

PHP4 Constructor – Sets up the object properties.

Parameters

$search_termstringoptional
Search terms string.

Default:''

$pageintoptional
Page ID.

Default:''

$rolestringoptional
Role name.

Default:''

Return

WP_User_Search

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

VersionDescription
2.1.0Introduced.

User Contributed Notes

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