A WordPress-centric search engine for devs and theme authors



wp_upload_bits ›

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

Filters whether to treat the upload bits as an error.

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





Source

$upload_bits_error = apply_filters(