pre-upload-ui WordPress Action Hook
The pre-upload-ui hook is called before the upload UI is displayed. This hook can be used to modify the upload UI or to cancel the upload.
do_action( 'pre-upload-ui' ) #
Fires just before the legacy (pre-3.5.0) upload interface is loaded.