WP_Upgrader_Skin::hide_process_failed( WP_Error $wp_error ): bool

In this article

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

Parameters

$wp_errorWP_Errorrequired
WP_Error object.

Return

bool True if the error should be hidden, false otherwise.

Source

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

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.