wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_prevent_unsupported_mime_type_uploads › WordPress Filter Hooks

Sincen/a
Deprecatedn/a
apply_filters( 'wp_prevent_unsupported_mime_type_uploads', true, null )
Defined at:
Codex:

This filter is documented in wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php





Source

$prevent_unsupported_uploads = apply_filters( 'wp_prevent_unsupported_mime_type_uploads', true, null );