WP_Upgrader_Skin::hide_process_failed() WordPress Method

The hide_process_failed() method of the WP_Upgrader_Skin class is a utility method that is used to hide the process failed message when the upgrade process fails. This is useful for cases where the failure is not fatal and the user can continue using the site.

WP_Upgrader_Skin::hide_process_failed( WP_Error $wp_error ) #

Hides the process_failed error message when updating by uploading a zip file.


Parameters

$wp_error

(WP_Error)(Required)WP_Error object.


Top ↑

Return

(bool)


Top ↑

Source

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

	public function hide_process_failed( $wp_error ) {
		return false;
	}

Top ↑

Changelog

Changelog
VersionDescription
5.5.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.