diff --git a/edit-link-form.php b/edit-link-form.php
index ad2c6e5..ec021df 100644
a
|
b
|
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 | /** |
| 34 | * Fires after all built-in meta boxes have been added. |
| 35 | * |
| 36 | * @since 2.7.0 |
| 37 | * |
| 38 | * @param string $post_type Post type. |
| 39 | * @param object $link Link being edited. |
| 40 | */ |
33 | 41 | do_action('add_meta_boxes', 'link', $link); |
| 42 | |
| 43 | /** |
| 44 | * Fires after all built-in meta boxes have been added. |
| 45 | * |
| 46 | * @since 3.0.0 |
| 47 | * |
| 48 | * @param object $link Link being edited. |
| 49 | */ |
34 | 50 | do_action('add_meta_boxes_link', $link); |
35 | 51 | |
36 | | /** This action is documented in wp-admin/edit-form-advanced.php */ |
| 52 | /** |
| 53 | * Fires after all built-in meta boxes have been added. |
| 54 | * |
| 55 | * @since 2.7.0 |
| 56 | * |
| 57 | * @param string 'link' The text 'link' for post type link. |
| 58 | * @param string 'normal' The text 'normal' for normal meta box context. |
| 59 | * @param object $link Link being edited. |
| 60 | */ |
37 | 61 | do_action('do_meta_boxes', 'link', 'normal', $link); |
38 | | /** This action is documented in wp-admin/edit-form-advanced.php */ |
| 62 | |
| 63 | /** |
| 64 | * Fires after all built-in meta boxes have been added. |
| 65 | * |
| 66 | * @since 2.7.0 |
| 67 | * |
| 68 | * @param string 'link' The text 'link' for post type link. |
| 69 | * @param string 'advanced' The text 'advanced' for advanced meta box context. |
| 70 | * @param object $link Link being edited. |
| 71 | */ |
39 | 72 | do_action('do_meta_boxes', 'link', 'advanced', $link); |
40 | | /** This action is documented in wp-admin/edit-form-advanced.php */ |
| 73 | |
| 74 | /** |
| 75 | * Fires after all built-in meta boxes have been added. |
| 76 | * |
| 77 | * @since 2.7.0 |
| 78 | * |
| 79 | * @param string 'link' The text 'link' for post type link. |
| 80 | * @param string 'side' The text 'side' for side meta box context. |
| 81 | * @param object $link Link being edited. |
| 82 | */ |
41 | 83 | do_action('do_meta_boxes', 'link', 'side', $link); |
42 | 84 | |
43 | 85 | add_screen_option('layout_columns', array('max' => 2, 'default' => 2) ); |
… |
… |
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> |
110 | 152 | <div id="postbox-container-1" class="postbox-container"> |
111 | 153 | <?php |
112 | 154 | |
| 155 | /** |
| 156 | * Fires before submit link box. |
| 157 | * |
| 158 | * @since 2.5.0 |
| 159 | */ |
113 | 160 | do_action('submitlink_box'); |
114 | 161 | $side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
115 | 162 | |