wp_handle_upload_error() –

You appear to be a bot. Output may be restricted

Description

Usage

wp_handle_upload_error( $file, $message );

Parameters

$file
( mixed ) required
$message
( mixed ) required

Returns

void

Source

File name: wordpress/wp-admin/includes/file.php
Lines:

1 to 3 of 3
    function wp_handle_upload_error( &$file, $message ) {
      return array( 'error' => $message );
    }
 

 View on GitHub View on Trac