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.

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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_upgrader_skin/hide_process_failed