WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
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'); ?> |