wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_prevent_unsupported_mime_type_uploads › WordPress Filter Hooks
Da6.8.0
Deprecaton/a
› apply_filters( 'wp_prevent_unsupported_mime_type_uploads', true, $files['file']['type'] ?? null )
| Parametri: (2) |
|
| Definito a: | |
| Codex: |
Filter whether the server should prevent uploads for image types it doesn't support. Default true.
Developers can use this filter to enable uploads of certain image types. By default image types that are not supported by the server are prevented from being uploaded.Funzioni correlate: get_post_mime_types, wp_print_update_row_templates, wp_render_elements_support_styles, wp_get_mime_types, get_allowed_mime_types, get_post_mime_type