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 |
---|---|
52 | <input name="publish" type="submit" id="publish" tabindex="6" value="<?php _e('Publish') ?>" class="button button-highlighted" /> |
53 | <?php endif; ?> |
54 |
|
55 | <?php if ('bookmarklet' != $mode) { |
56 | echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing') . '" />'; |
57 | } ?> |
58 | <input name="referredby" type="hidden" id="referredby" value="<?php if ( $refby = wp_get_referer() ) echo urlencode($refby); ?>" /> |
59 | </p> |
60 |
|
61 | <?php do_action('simple_edit_form', ''); ?> |
62 |
|
63 | </div> |
64 | </form> |
65 |
|
66 | <script type="text/javascript"> |
67 | try{document.getElementById('title').focus();}catch(e){} |
68 | </script> |
69 | </div> |
70 |
|