2020-05-01 / 4746阅 / 悠然
Retrieve list of allowed mime types and file extensions.
(int|WP_User)
(Optional)
User to check. Defaults to current user.
Default value: null
(string[]) Array of mime types keyed by the file extension regex corresponding to those types.