add_meta_boxes_link
Fires when link-specific meta boxes are added.
Usage
add_action( 'add_meta_boxes_link', 'wp_kama_add_meta_boxes_link_action' ); /** * Function for `add_meta_boxes_link` action-hook. * * @param object $link Link object. * * @return void */ function wp_kama_add_meta_boxes_link_action( $link ){ // action... }
- $link(object)
- Link object.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/edit-link-form.php
wp-admin/edit-link-form.php 46
do_action( 'add_meta_boxes_link', $link );