Add exit hook to wp_delete_link(). Props kevinB. fixes #4078

git-svn-id: http://svn.automattic.com/wordpress/trunk@5177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-04 04:25:44 +00:00
parent 04f7f566b0
commit 57cf80f5d1
1 changed files with 2 additions and 0 deletions

View File

@ -424,6 +424,8 @@ function wp_delete_link($link_id) {
$wpdb->query("DELETE FROM $wpdb->link2cat WHERE link_id = '$link_id'");
return $wpdb->query("DELETE FROM $wpdb->links WHERE link_id = '$link_id'");
do_action('deleted_link', $link_id);
}
function wp_get_link_cats($link_ID = 0) {