Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: post-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
102                     <?php if ( ( $GLOBALS['is_IE'] || $GLOBALS['is_opera']) && $max_upload_size > 100 * 1024 * 1024 ) :
103                          $browser_uploader = admin_url( 'media-new.php?browser-uploader&post_id=' ) . '{{ data.postId }}';
104                          ?>
105                          <p class="big-file-warning"><?php printf( __( 'Your browser has some limitations uploading large files with the multi-file uploader. Please use the <a href="%1$s" target="%2$s">browser uploader</a> for files over 100MB.' ),
106                               $browser_uploader, '_blank' ); ?></p>
107                     <?php endif; ?>
108
109                     <?php
110                     /** This action is documented in wp-admin/includes/media.php */
111                     do_action( 'post-upload-ui' ); ?>
112                </div>
113           <?php endif; ?>
114           </div>
115      </script>
116
117      <script type="text/html" id="tmpl-uploader-status">
118           <h3><?php _e( 'Uploading' ); ?></h3>
119           <a class="upload-dismiss-errors" href="#"><?php _e('Dismiss Errors'); ?></a>
120