package BackPress

 Methods

WP_Users()

WP_Users($db) 

Parameters

$db

__construct()

__construct($db) 

Parameters

$db

_put_user()

_put_user($args = null

Parameters

$args

append_meta()

append_meta($object, $args = null

Parameters

$object

$args

delete_meta()

delete_meta($args = null

Parameters

$args

delete_user()

delete_user($user_id) 

Parameters

$user_id

get_user()

get_user($user_id = 0, $args = null

Parameters

$user_id

$args

is_email()

is_email($email) 

Parameters

$email

new_user()

new_user($args = null

Parameters

$args

sanitize_nicename()

sanitize_nicename($slug) 

Parameters

$slug

sanitize_user()

sanitize_user($user_login, $strict = false

Parameters

$user_login

$strict

set_password() - Updates the user's password with a new encrypted one

set_password(string $password, integer $user_id) 

For integration with other applications, this function can be overwritten to instead use the other package password checking algorithm.

since 2.5
uses Used to encrypt the user's password before passing to the database

Parameters

$password

string

The plaintext new user password

$user_id

integer

User ID

update_meta()

update_meta($args = null

Parameters

$args

update_user()

update_user($ID, $args = null

Parameters

$ID

$args

 Properties

 

$db

$db 

Default