wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_move_uploaded_file › WordPress过滤钩子
Since4.9.0
已弃用n/a
› apply_filters( 'pre_move_uploaded_file', null, $file, $new_file, $type )
参数: (4) |
|
定义在: |
|
文档: |
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