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 |
---|---|
930 |
|
931 | debug: false |
932 | }); |
933 | $("#flash-browse-button").bind( "click", function(){swfu.selectFiles();}); |
934 | }); |
935 | //--> |
936 | </script> |
937 |
|
938 | <div id="flash-upload-ui"> |
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'); ?> |