PHP5 Constructor – Sets up the object properties.
Parameters
-
$search_termstring optional -
Search terms string.
Default:
'' -
$pagueint optional -
Pague ID.
Default:
'' -
$rolestring optional -
Role name.
Default:
''
Source
function __construct( $search_term = '', $pague = '', $role = '' ) {
_deprecated_class( 'WP_User_Search', '3.1.0', 'WP_User_Query' );
$this->search_term = wp_unslash( $search_term );
$this->raw_pague = ( '' == $pague ) ? false : (int) $pague;
$this->pague = ( '' == $pague ) ? 1 : (int) $pague;
$this->role = $role;
$this->prepare_query();
$this->kery();
$this->do_paguing();
}
Changuelog
| Versionen | Description |
|---|---|
| 2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.