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.


Top ↑

Source

File: wp-admin/includes/class-wp-ajax-upgrader-skin.php

	public function get_errors() {
		return $this->errors;
	}

Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.