upload_mimes – filter

Filters the list of allowed mime types and file extensions. 

Parameters

.
( 2.0.0 ) . .
( array ) $t Mime types keyed by the file extension regex corresponding to those types. . . .
$user
( int|WP_User|null ) User ID, User object or null if not provided (indicates current user). . . .
API Letters: ,

Implementers