WordPress File wp-admin/includes/file.php

{$action}_overrides

Filters the override parameters for a file before it is uploaded to WordPress.

editable_extensions

Filters the list of file types allowed for editing in the plugin file editor.