Property | Type | Description | |
---|---|---|---|
$obj_fields | |||
$obj_type |
Method | Description | |
---|---|---|
__construct ( ) | ||
add_cap ( $args, $assoc_args ) | Add a capability to a user. | |
add_role ( $args, $assoc_args ) | Add a role for a user. | |
create ( $args, $assoc_args ) | Create a new user. | |
delete ( $args, $assoc_args ) | Delete one or more users from the current site. | |
generate ( $args, $assoc_args ) | Generate some users. | |
get ( $args, $assoc_args ) | Get details about a user. | |
import_csv ( $args, $assoc_args ) | Import users from a CSV file. | |
list_ ( $args, $assoc_args ) | List users. | |
list_caps ( $args, $assoc_args ) | List all capabilities for a user. | |
remove_cap ( $args, $assoc_args ) | Remove a user's capability. | |
remove_role ( $args, $assoc_args ) | Remove a user's role. | |
set_role ( $args, $assoc_args ) | Set the user role. | |
update ( $args, $assoc_args ) | Update an existing user. |
Method | Description | |
---|---|---|
validate_role ( $role ) | Check whether the role is valid | |
wp_new_user_notification ( string $user_id, string $password ) | Acommodate three different behaviors for wp_new_user_notification() - 4.3.1 and above: expect second argument to be deprecated - 4.3: Second argument was repurposed as $notify - Below 4.3: Send the password in the notification |
public add_cap ( $args, $assoc_args ) |
public add_role ( $args, $assoc_args ) |
public create ( $args, $assoc_args ) |
public delete ( $args, $assoc_args ) |
public generate ( $args, $assoc_args ) |
public get ( $args, $assoc_args ) |
public import_csv ( $args, $assoc_args ) |
public list_ ( $args, $assoc_args ) |
public list_caps ( $args, $assoc_args ) |
public remove_cap ( $args, $assoc_args ) |
public remove_role ( $args, $assoc_args ) |
public set_role ( $args, $assoc_args ) |
public update ( $args, $assoc_args ) |