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 |
|---|---|
| 45 | <input type="text" name="trackback_url" style="width: 360px" id="trackback" tabindex="7" /></p> |
| 46 | |
| 47 | <p class="submit"><input name="saveasdraft" type="submit" id="saveasdraft" tabindex="9" value="<?php _e('Save as Draft') ?>" /> |
| 48 | <input name="saveasprivate" type="submit" id="saveasprivate" tabindex="10" value="<?php _e('Save as Private') ?>" /> |
| 49 | |
| 50 | <?php if ( current_user_can('edit_posts') ) : ?> |
| 51 | <input name="publish" type="submit" id="publish" tabindex="6" value="<?php _e('Publish') ?>" class="button button-highlighted" /> |
| 52 | <?php endif; ?> |
| 53 | |
| 54 | <?php if ('bookmarklet' != $mode) { |
| 55 | echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing') . '" />'; |
| 56 | } ?> |
| 57 | <input name="referredby" type="hidden" id="referredby" value="<?php if ( $refby = wp_get_referer() ) echo urlencode($refby); ?>" /> |
| 58 | </p> |
| 59 | |
| 60 | <?php do_action('simple_edit_form', ''); ?> |
| 61 | |
| 62 | </div> |
| 63 | </form> |
| 64 | |
| 65 | <script type="text/javascript"> |
| 66 | try{document.getElementById('title').focus();}catch(e){} |
| 67 | </script> |
| 68 | </div> |
| 69 | |
| 70 | |