WP_Upgrader_Skin::hide_process_failed() – Hides the `process_failed` error message when updating by uploading a zip file.

You appear to be a bot. Output may be restricted

Description

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

Usage

$bool = WP_Upgrader_Skin::hide_process_failed( $wp_error );

Parameters

$wp_error
( WP_Error ) required – WP_Error object.

Returns

bool

Source

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

1 to 3 of 3
  public function hide_process_failed( $wp_error ) {
    return false;
  }
 

 View on GitHub View on Trac