Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/functions.php | apply_filters | 3546 | /** * Filters the list of allowed mime types and file extensions. * * @since 2.0.0 * * @param array $t Mime types keyed by the file extension regex corresponding to those types. * @param int|WP_User|null $user User ID, User object or null if not provided (indicates current user). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $t | Mime types keyed by the file extension regex corresponding to those types. |
int|WP_User|null | $user | User ID, User object or null if not provided (indicates current user). |