Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: post-html-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
1580           <input type="file" name="async-upload" id="async-upload" />
1581           <?php submit_button( __( 'Upload' ), 'button', 'html-upload', false ); ?>
1582           <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
1583      </p>
1584      <div class="clear"></div>
1585      <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p>
1586      <?php if ( is_lighttpd_before_150() ): ?>
1587      <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please update to lighttpd 1.5.'); ?></p>
1588      <?php endif;?>
1589 <?php do_action('post-html-upload-ui', $flash); ?>
1590 </div>
1591 <?php do_action('post-upload-ui'); ?>
1592 <?php
1593 }
1594
1595 /**
1596  * {@internal Missing Short Description}}
1597  *
1598  * @since 2.5.0