Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: pre-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
939 <?php do_action('pre-flash-upload-ui'); ?>
940      <p><input id="flash-browse-button" type="button" value="<?php echo attribute_escape( __( 'Choose files to upload' ) ); ?>" class="button" /></p>
941 <?php do_action('post-flash-upload-ui'); ?>
942      <p class="howto"><?php _e('After a file has been uploaded, you can add titles and descriptions.'); ?></p>
943 </div>
944
945 <?php endif; // $flash ?>
946
947 <div id="html-upload-ui">
948 <?php do_action('pre-html-upload-ui'); ?>
949      <p>
950      <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php echo attribute_escape(__('Upload')); ?>" /> <a href="#" onClick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
951      </p>
952      <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
953      <br class="clear" />
954      <?php if ( is_lighttpd_before_150() ): ?>
955      <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please upgrade to lighttpd 1.5.'); ?></p>
956      <?php endif;?>
957 <?php do_action('post-html-upload-ui'); ?>