wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_upload_bits › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
$upload_bits_error = apply_filters(
Parameters:
  • () upload_bits_error An array of upload bits data, or error message to return.
    Required: No
    Default:
Defined at:
Codex:

Filters whether to treat the upload bits as an error.

Returning a non-array from the filter will effectively short-circuit preparing the upload bits and return that value instead. An error message should be returned as a string.




Source

$upload_bits_error = apply_filters(