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 |
|---|---|
| 73 | |
| 74 | wp_nonce_field( $nonce_action ); |
| 75 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 76 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> |
| 77 | |
| 78 | <div id="poststuff" class="metabox-holder<?php echo 1 != $screen_layout_columns ? ' has-right-sidebar' : ''; ?>"> |
| 79 | <div id="side-info-column" class="inner-sidebar"> |
| 80 | <?php |
| 81 | if ( 1 != $screen_layout_columns ) { |
| 82 | do_action('submitlink_box'); |
| 83 | $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
| 84 | } |
| 85 | ?> |
| 86 | </div> |
| 87 | |
| 88 | <div id="post-body"> |
| 89 | <div id="post-body-content"> |
| 90 | <div id="namediv" class="stuffbox"> |
| 91 | <h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3> |
| Line | Code |
| 108 | <div class="inside"> |
| 109 | <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" /> |
| 110 | <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p> |
| 111 | </div> |
| 112 | </div> |
| 113 | |
| 114 | <?php |
| 115 | |
| 116 | if ( 1 == $screen_layout_columns ) { |
| 117 | do_action('submitlink_box'); |
| 118 | $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
| 119 | } |
| 120 | |
| 121 | do_meta_boxes(null, 'normal', $link); |
| 122 | |
| 123 | do_meta_boxes(null, 'advanced', $link); |
| 124 | |
| 125 | if ( $link_id ) : ?> |
| 126 | <input type="hidden" name="action" value="save" /> |