메소드 | 설명 | |
---|---|---|
__construct ( $settings ) | Constructor. | |
error ( string $message, integer $user_id = null ) | Add an error message. | |
has_notice ( ) | Check if a notice exists. | |
info ( string $message, integer $user_id = null ) | Add an info message. | |
message ( string $message, string $type, integer $user_id = null ) | Add a notice message to be displayed. | |
show ( ) | Show the admin notice. | |
success ( string $message, integer $user_id = null ) | Add a success message. |
메소드 | 설명 | |
---|---|---|
add_user_meta ( integer $user_id, string $key, mixed $value ) | Handle adding user meta across potential hosting platforms. | |
delete_user_meta ( integer $user_id, string $key ) | Handle deleting user meta across potential hosting platforms. | |
get_user_meta ( integer $user_id, string $key ) : mixed | Handle getting user meta across potential hosting platforms. | |
show_notice ( string $message, string $type ) | Display the admin notice template. |