do_action( 'pre-upload-ui' )

Fires just before the legacy (pre-3.5.0) upload interface is loaded.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre-upload-ui