deleted_link
Fires after a link has been deleted.
Usage
add_action( 'deleted_link', 'wp_kama_deleted_link_action' );
/**
* Function for `deleted_link` action-hook.
*
* @param int $link_id ID of the deleted link.
*
* @return void
*/
function wp_kama_deleted_link_action( $link_id ){
// action...
}
- $link_id(int)
- ID of the deleted link.
Changelog
| Since 2.2.0 | Introduced. |
Where the hook is called
deleted_link
wp-admin/includes/bookmark.php 111
do_action( 'deleted_link', $link_id );