upload_ui_over_quota
Fires when an upload will exceed the defined upload space quota for a network site.
Usage
add_action( 'upload_ui_over_quota', 'wp_kama_upload_ui_over_quota_action' ); /** * Function for `upload_ui_over_quota` action-hook. * * @return void */ function wp_kama_upload_ui_over_quota_action(){ // action... }
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
upload_ui_over_quota
upload_ui_over_quota
wp-admin/includes/media.php 2141
do_action( 'upload_ui_over_quota' );
wp-includes/media-template.php 259
do_action( 'upload_ui_over_quota' );
Where the hook is used in WordPress
wp-includes/ms-default-filters.php 104
add_action( 'upload_ui_over_quota', 'multisite_over_quota_message' );