Property | Type | Description | |
---|---|---|---|
$main_error_code | Stores the last error key; | ||
$main_error_message | Stores the last error message. |
Method | Description | |
---|---|---|
error ( $error ) | Overwrites the error function | |
feedback ( $data ) | Overwrites the feedback function | |
get_main_error_code ( ) | ||
get_main_error_message ( ) | ||
set_upgrader ( WP_Upgrader &$upgrader ) | Overwrites the set_upgrader to be able to tell if we e ven have the ability to write to the files. |
Method | Description | |
---|---|---|
set_main_error_code ( $code ) | ||
set_main_error_message ( $message, $code ) |
public set_upgrader ( WP_Upgrader &$upgrader ) | ||
$upgrader | WP_Upgrader |