WP_Ajax_Upgrader_Skin::get_errors() WordPress Method
The get_errors() method of the WP_Ajax_Upgrader_Skin class is used to get the list of errors that have occurred during the upgrade process. The method takes no arguments and returns an array of error messages.
WP_Ajax_Upgrader_Skin::get_errors() #
Retrieves the list of errors.
Return
(WP_Error) Errors during an upgrade.
Source
File: wp-admin/includes/class-wp-ajax-upgrader-skin.php
public function get_errors() { return $this->errors; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |