apply_filters( 'wp_upload_bits', mixed $upload_bits_error )

Filters whether to treat the upload bits as an error.


Description

Passing a non-array to the filter will effectively short-circuit preparing the upload bits, returning that value instead.


Parameters

$upload_bits_error

An array of upload bits data, or a non-array error to return.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.