wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
pre_move_uploaded_file › Les Filtres WordPress
Depuis4.9.0
Dépréciéen/a
› apply_filters( 'pre_move_uploaded_file', null, $file, $new_file, $type )
Paramètres: (4) |
|
Défini(e) dans: |
|
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.
Fonctions en relation: media_upload_file, remove_all_filters, wp_max_upload_size, remove_filter, wp_get_upload_dir, wp_media_upload_handler
Hooks en relation: pre_unzip_file, recovery_mode_email, pre-upload-ui, remove_user_from_blog, wpmu_upgrade_site