|wp-includes/capabilities.php: user_can()|| |
Whether a particular user has a specific capability.
|wp-includes/capabilities.php: current_user_can()|| |
Whether the current user has a specific capability.
|wp-includes/functions.php: wp_get_mime_types()|| |
Retrieve list of mime types and file extensions.
|wp-includes/functions.php: upload_mimes|| |
Filters list of allowed mime types and file extensions.
|wp-includes/plugin.php: apply_filters()|| |
Call the functions added to a filter hook.