wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_prevent_unsupported_mime_type_uploads › WordPress Filter Hooks
Seit6.8.0
Veraltetn/v
› apply_filters( 'wp_prevent_unsupported_mime_type_uploads', true, isset( $files['file']['type'] )
Parameter: (2) |
|
Definiert in: | |
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.
Ähnliche Funktionen: get_post_mime_types, wp_render_elements_support_styles, wp_print_update_row_templates, wp_get_mime_types, get_allowed_mime_types, get_post_mime_type
Ähnliche Hooks: wp_create_file_in_uploads