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 |
---|---|
227 | wp_nonce_field( 'autosave', 'autosavenonce', false ); |
228 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); |
229 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
230 | ?> |
231 |
|
232 | <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> |
233 | <div id="side-info-column" class="inner-sidebar"> |
234 |
|
235 | <?php |
236 | ('page' == $post_type) ? do_action('submitpage_box') : do_action('submitpost_box'); |
237 | $side_meta_boxes = do_meta_boxes($post_type, 'side', $post); |
238 | ?> |
239 | </div> |
240 |
|
241 | <div id="post-body"> |
242 | <div id="post-body-content"> |
243 | <?php if ( post_type_supports($post_type, 'title') ) { ?> |
244 | <div id="titlediv"> |
245 | <div id="titlewrap"> |