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.
This hook occurs 2 times in this file.
| Line | Code |
|---|---|
| 270 | wp_nonce_field( 'autosave', 'autosavenonce', false ); |
| 271 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); |
| 272 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 273 | ?> |
| 274 | |
| 275 | <div id="poststuff" class="metabox-holder<?php echo 1 != $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> |
| 276 | <div id="side-info-column" class="inner-sidebar"> |
| 277 | <?php |
| 278 | if ( 1 != $screen_layout_columns ) { |
| 279 | ('page' == $post_type) ? do_action('submitpage_box') : do_action('submitpost_box'); |
| 280 | $side_meta_boxes = do_meta_boxes($post_type, 'side', $post); |
| 281 | } |
| 282 | ?> |
| 283 | </div> |
| 284 | |
| 285 | <div id="post-body"> |
| 286 | <div id="post-body-content"> |
| 287 | <?php if ( post_type_supports($post_type, 'title') ) { ?> |
| 288 | <div id="titlediv"> |
| Line | Code |
| 337 | </td> |
| 338 | </tr></tbody></table> |
| 339 | |
| 340 | </div> |
| 341 | |
| 342 | <?php |
| 343 | } |
| 344 | |
| 345 | if ( 1 == $screen_layout_columns ) { |
| 346 | ('page' == $post_type) ? do_action('submitpage_box') : do_action('submitpost_box'); |
| 347 | $side_meta_boxes = do_meta_boxes($post_type, 'side', $post); |
| 348 | } |
| 349 | |
| 350 | do_meta_boxes(null, 'normal', $post); |
| 351 | |
| 352 | ( 'page' == $post_type ) ? do_action('edit_page_form') : do_action('edit_form_advanced'); |
| 353 | |
| 354 | do_meta_boxes(null, 'advanced', $post); |
| 355 | |