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

git-svn-id: https://develop.svn.wordpress.org/trunk@5177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-04-04 04:25:44 +00:00
parent 99aba2a91c
commit 8a155e75f5
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) {