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



import_upload_size_limit › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'import_upload_size_limit', wp_max_upload_size()
Parameters:
  • (int) $max_upload_size Allowed upload size. Default 1 MB.
    Required: Yes
Defined at:
Codex:

Filters the maximum allowed upload size for import files.





Source

$bytes      = apply_filters( 'import_upload_size_limit', wp_max_upload_size() );