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.
Contents
Parameters
Return
(bool)
Source
File: wp-admin/includes/class-wp-upgrader-skin.php
public function hide_process_failed( $wp_error ) { return false; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |