diff --git wp-admin/edit-link-form.php wp-admin/edit-link-form.php
index ad2c6e5..c004992 100644
|
|
add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', null, 'norma |
30 | 30 | add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', null, 'normal', 'core'); |
31 | 31 | add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', null, 'normal', 'core'); |
32 | 32 | |
33 | | do_action('add_meta_boxes', 'link', $link); |
34 | | do_action('add_meta_boxes_link', $link); |
| 33 | /** This action is documented in wp-admin/edit-form-advanced.php */ |
| 34 | do_action( 'add_meta_boxes', 'link', $link ); |
| 35 | |
| 36 | /** |
| 37 | * Fires when link-specific meta boxes are added. |
| 38 | * |
| 39 | * @since 3.0.0 |
| 40 | * |
| 41 | * @param object $link Link object. |
| 42 | */ |
| 43 | do_action( 'add_meta_boxes_link', $link ); |
35 | 44 | |
36 | 45 | /** This action is documented in wp-admin/edit-form-advanced.php */ |
37 | | do_action('do_meta_boxes', 'link', 'normal', $link); |
| 46 | do_action( 'do_meta_boxes', 'link', 'normal', $link ); |
38 | 47 | /** This action is documented in wp-admin/edit-form-advanced.php */ |
39 | | do_action('do_meta_boxes', 'link', 'advanced', $link); |
| 48 | do_action( 'do_meta_boxes', 'link', 'advanced', $link ); |
40 | 49 | /** This action is documented in wp-admin/edit-form-advanced.php */ |
41 | | do_action('do_meta_boxes', 'link', 'side', $link); |
| 50 | do_action( 'do_meta_boxes', 'link', 'side', $link ); |
42 | 51 | |
43 | 52 | add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); |
44 | 53 | |
… |
… |
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> |
110 | 119 | <div id="postbox-container-1" class="postbox-container"> |
111 | 120 | <?php |
112 | 121 | |
113 | | do_action('submitlink_box'); |
| 122 | /** |
| 123 | * Fires before the Save meta box in the sidebar. |
| 124 | * |
| 125 | * @since 2.5.0 |
| 126 | */ |
| 127 | do_action( 'submitlink_box' ); |
114 | 128 | $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
115 | 129 | |
116 | 130 | ?> |