apply_filters( 'wp_upload_bits', mixed $upload_bits_error )
Filters whether to treat the upload bits as an error.
Description Description
Passing a non-array to the filter will effectively short-circuit preparing the upload bits, returning that value instead.
Parameters Parameters
- $upload_bits_error
-
(mixed) An array of upload bits data, or a non-array error to return.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |