|wp-includes/capabilities.php: user_can()|| |
Returns whether a particular user has the specified capability.
|wp-includes/capabilities.php: current_user_can()|| |
Returns whether the current user has the specified 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()|| |
Calls the callback functions that have been added to a filter hook.