wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_move_uploaded_file › WordPress Filter Hooks
Since4.9.0
Deprecatedn/a
› apply_filters( 'pre_move_uploaded_file', null, $file, $new_file, $type )
| Parameters: (4) |
|
| Defined at: |
|
| 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.Related Functions: media_upload_file, remove_all_filters, wp_max_upload_size, remove_filter, apache_mod_loaded, wp_get_upload_dir
Related Hooks: pre_upload_error, remove_user_role, pre_unzip_file, wp_save_image_file, recovery_mode_email