Uma área de pesquisa sobre o WordPress para devs e autores do tema



import_upload_size_limit ›

Desde2.3.0
Obsoleton/a
apply_filters( 'import_upload_size_limit', wp_max_upload_size()
Parâmetros:
  • (int) $max_upload_size Allowed upload size. Default 1 MB.
    Required: Yes
Ver:
  • wp_max_upload_size()
Definido em:
Codex:

Filters the maximum allowed upload size for import files.





Fonte

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