Source View: submitlink_box

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
68 wp_nonce_field( $nonce_action );
69 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
70 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
71
72 <div id="poststuff" class="metabox-holder<?php echo 2 == $screen_layout_columns ? ' has-right-sidebar' : ''; ?>">
73
74 <div id="side-info-column" class="inner-sidebar">
75 <?php
76
77 do_action('submitlink_box');
78 $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
79
80 ?>
81 </div>
82
83 <div id="post-body">
84 <div id="post-body-content">
85 <div id="namediv" class="stuffbox">
86 <h3><label for="link_name"><?php _e('Name') ?></label></h3>