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 |
---|---|
158 | <?php |
159 | if ( 'draft' != $post->post_status ) |
160 | wp_original_referer_field(true, 'previous'); |
161 |
|
162 | echo $form_extra ?> |
163 |
|
164 | <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> |
165 | <div id="side-info-column" class="inner-sidebar"> |
166 |
|
167 | <?php do_action('submitpost_box'); ?> |
168 |
|
169 | <?php $side_meta_boxes = do_meta_boxes('post', 'side', $post); ?> |
170 | </div> |
171 |
|
172 | <div id="post-body"> |
173 | <div id="post-body-content"> |
174 | <div id="titlediv"> |
175 | <div id="titlewrap"> |
176 | <label class="screen-reader-text" for="title"><?php _e('Title') ?></label> |