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, wp_get_upload_dir, wp_media_upload_handler
Related Hooks: pre_unzip_file, recovery_mode_email, pre-upload-ui, remove_user_from_blog, wpmu_upgrade_site