Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: pre-plupload-upload-ui

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
227                </div>
228
229                <div class="upload-inline-status"></div>
230
231                <div class="post-upload-ui">
232                     <?php
233                     /** This action is documented in wp-admin/includes/media.php */
234                     do_action( 'pre-upload-ui' );
235                     /** This action is documented in wp-admin/includes/media.php */
236                     do_action( 'pre-plupload-upload-ui' );
237
238                     if ( 10 === remove_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' ) ) {
239                          /** This action is documented in wp-admin/includes/media.php */
240                          do_action( 'post-plupload-upload-ui' );
241                          add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' );
242                     } else {
243                          /** This action is documented in wp-admin/includes/media.php */
244                          do_action( 'post-plupload-upload-ui' );
245                     }