Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: pre-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
890      <?php echo $errors['upload_notice']; ?>
891 <?php } ?>
892 </div>
893 <div id="media-upload-error">
894 <?php if (isset($errors['upload_error']) && is_wp_error($errors['upload_error'])) { ?>
895      <?php echo $errors['upload_error']->get_error_message(); ?>
896 <?php } ?>
897 </div>
898
899 <?php do_action('pre-upload-ui'); ?>
900
901 <?php if ( $flash ) : ?>
902 <script type="text/javascript">
903 <!--
904 jQuery(function($){
905      swfu = new SWFUpload({
906                upload_url : "<?php echo attribute_escape( $flash_action_url ); ?>",
907                flash_url : "<?php echo includes_url('js/swfupload/swfupload_f9.swf'); ?>",
908                file_post_name: "async-upload",