Inline documentation for hooks in wp-admin/edit-link-form.php.
props raamdev. fixes #25447. Built from https://develop.svn.wordpress.org/trunk@26080 git-svn-id: http://core.svn.wordpress.org/trunk@26000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc80ae6691
commit
e5a4485a49
|
@ -30,7 +30,16 @@ add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', null, 'norma
|
|||
add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', null, 'normal', 'core');
|
||||
add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', null, 'normal', 'core');
|
||||
|
||||
/** This action is documented in wp-admin/edit-form-advanced.php */
|
||||
do_action( 'add_meta_boxes', 'link', $link );
|
||||
|
||||
/**
|
||||
* Fires when link-specific meta boxes are added.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param object $link Link object.
|
||||
*/
|
||||
do_action( 'add_meta_boxes_link', $link );
|
||||
|
||||
/** This action is documented in wp-admin/edit-form-advanced.php */
|
||||
|
@ -110,6 +119,11 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>
|
|||
<div id="postbox-container-1" class="postbox-container">
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Fires before the Save meta box in the sidebar.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*/
|
||||
do_action( 'submitlink_box' );
|
||||
$side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
|
||||
|
||||
|
|
Loading…
Reference in New Issue