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
207
208                     <# if ( data.suggestedWidth && data.suggestedHeight ) { #>
209                          <p class="suggested-dimensions">
210                               <?php _e( 'Suggested image dimensions:' ); ?> {{data.suggestedWidth}} &times; {{data.suggestedHeight}}
211                          </p>
212                     <# } #>
213
214                     <?php
215                     /** This action is documented in wp-admin/includes/media.php */
216                     do_action( 'post-upload-ui' ); ?>
217                </div>
218           <?php endif; ?>
219           </div>
220      </script>
221
222      <script type="text/html" id="tmpl-uploader-status">
223           <h3><?php _e( 'Uploading' ); ?></h3>
224           <a class="upload-dismiss-errors" href="#"><?php _e('Dismiss Errors'); ?></a>
225