WordPress at Your Fingertips
function is not described

WP_Upgrader_Skin::hide_process_failed() public WP 5.5.0

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

{} It's a method of the class: WP_Upgrader_Skin{}

No Hooks.

Return

true|false.

Usage

$WP_Upgrader_Skin = new WP_Upgrader_Skin();
$WP_Upgrader_Skin->hide_process_failed( $wp_error );
$wp_error(WP_Error) (required)
WP_Error object.

Changelog

Since 5.5.0 Introduced.

Code of WP_Upgrader_Skin::hide_process_failed() WP 5.8.2

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