W3cubDocs

/WordPress

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

Return

(bool)

Source

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

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

Changelog

Version Description
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader_skin/hide_process_failed