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 |
---|---|
576 | <?php |
577 | if ( 'draft' != $post->post_status ) |
578 | wp_original_referer_field(true, 'previous'); |
579 |
|
580 | echo $form_extra ?> |
581 |
|
582 | <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> |
583 | <div id="side-info-column" class="inner-sidebar"> |
584 |
|
585 | <?php do_action('submitpost_box'); ?> |
586 |
|
587 | <?php $side_meta_boxes = do_meta_boxes('post', 'side', $post); ?> |
588 | </div> |
589 |
|
590 | <div id="post-body"> |
591 | <div id="post-body-content"> |
592 | <div id="titlediv"> |
593 | <div id="titlewrap"> |
594 | <label class="screen-reader-text" for="title"><?php _e('Title') ?></label> |