edit_link
Fires after a link was updated in the database.
Usage
add_action( 'edit_link', 'wp_kama_edit_link_action' );
/**
* Function for `edit_link` action-hook.
*
* @param int $link_id ID of the link that was updated.
*
* @return void
*/
function wp_kama_edit_link_action( $link_id ){
// action...
}
- $link_id(int)
- ID of the link that was updated.
Changelog
| Since 2.0.0 | Introduced. |
Where the hook is called
edit_link
wp-admin/includes/bookmark.php 254
do_action( 'edit_link', $link_id );