pre-plupload-upload-ui
Fires before the upload interface loads.
Description
do_action( 'pre-plupload-upload-ui' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'pre-plupload-upload-ui' );
- The following example is for adding a hook callback.
- // define the pre-plupload-upload-ui callback
- function action_pre_plupload_upload_ui( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'pre-plupload-upload-ui', 'action_pre_plupload_upload_ui', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'pre-plupload-upload-ui', 'action_pre_plupload_upload_ui', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /wp-includes/media-template.php
- do_action( 'pre-plupload-upload-ui' );
- /wp-admin/includes/media.php
- do_action( 'pre-plupload-upload-ui' ); ?>