WPDK
1.5.0
WordPress Development Kit
|
Static Public Member Functions | |
static | update ($user_id, $post_data) |
Update. More... | |
Data Fields | |
const | STATUS = '_wpdk_user_status' |
User status. More... | |
const | STATUS_DESCRIPTION = '_wpdk_user_status_description' |
User status description. More... | |
const | COUNT_SUCCESS_LOGIN = '_wpdk_user_count_success_login' |
Number of success login. More... | |
const | COUNT_WRONG_LOGIN = '_wpdk_user_count_wrong_login' |
Number of wrong login. More... | |
const | LAST_TIME_SUCCESS_LOGIN = '_wpdk_user_last_time_success_login' |
Time stamp of last success login. More... | |
const | LAST_TIME_WRONG_LOGIN = '_wpdk_user_last_time_wrong_login' |
Time stamp of last wrong login. More... | |
const | LAST_TIME_LOGOUT = '_wpdk_user_last_time_logout' |
Time stamp of last success login. More... | |
const | REMOTE_ADDR = '_wpdk_user_remote_address' |
Remote Address. More... | |
This class describe the WPDK user meta extra fields
User status model
Definition at line 13 of file wpdk-user.php.
|
static |
Update.
Update the wpdk extra user meta information. This method was written for the user profile. Updates: LAST_TIME_SUCCESS_LOGIN COUNT_SUCCESS_LOGIN LAST_TIME_WRONG_LOGIN COUNT_WRONG_LOGIN LAST_TIME_LOGOUT STATUS STATUS_DESCRIPTION
int | $user_id | User id |
array | $post_data | A key value peirs array with values |
Definition at line 88 of file wpdk-user.php.
const COUNT_SUCCESS_LOGIN = '_wpdk_user_count_success_login' |
const COUNT_WRONG_LOGIN = '_wpdk_user_count_wrong_login' |
const LAST_TIME_LOGOUT = '_wpdk_user_last_time_logout' |
Time stamp of last success login.
Time stamp of last logout
Definition at line 62 of file wpdk-user.php.
const LAST_TIME_SUCCESS_LOGIN = '_wpdk_user_last_time_success_login' |
Time stamp of last success login.
Time stamp of last success login
Definition at line 48 of file wpdk-user.php.
const LAST_TIME_WRONG_LOGIN = '_wpdk_user_last_time_wrong_login' |
Time stamp of last wrong login.
Time stamp of last wrong login
Definition at line 55 of file wpdk-user.php.
const REMOTE_ADDR = '_wpdk_user_remote_address' |
Remote Address.
Remote Address when an user when created
Definition at line 70 of file wpdk-user.php.
const STATUS = '_wpdk_user_status' |
const STATUS_DESCRIPTION = '_wpdk_user_status_description' |
User status description.
Store the user status description.
Definition at line 27 of file wpdk-user.php.