wphooks.info - deleted_link

deleted_link

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/bookmark.php:
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
	$wpdb->delete( $wpdb->links, array( 'link_id' => $link_id ) );

	/**
	 * Fires after a link has been deleted.
	 *
	 * @since 2.2.0
	 *
	 * @param int $link_id ID of the deleted link.
	 */
	do_action( 'deleted_link', $link_id );

	clean_bookmark_cache( $link_id );

	return true;
}

/**
 * Retrieves the link categories associated with the link specified.
 *