wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
pre_move_uploaded_file › Hooks de Filtros WordPress
Desde4.9.0
Obsoleton/a
› apply_filters( 'pre_move_uploaded_file', null, $file, $new_file, $type )
| Parâmetros: (4) |
|
| Definido em: |
|
| Codex: |
Filters whether to short-circuit moving the uploaded file after passing all checks.
If a non-null value is returned from the filter, moving the file and any related error reporting will be completely skipped.Funções relacionadas: media_upload_file, remove_all_filters, wp_max_upload_size, remove_filter, apache_mod_loaded, wp_get_upload_dir
Hooks relacionados: pre_upload_error, remove_user_role, pre_unzip_file, wp_save_image_file, recovery_mode_email