Add exit hook to wp_delete_post(). Props kevinB. fixes #4055

git-svn-id: https://develop.svn.wordpress.org/trunk@5158 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-03-31 21:41:08 +00:00
parent c37bf4c8d5
commit f4ec57d876
1 changed files with 2 additions and 0 deletions

View File

@ -443,6 +443,8 @@ function wp_delete_post($postid = 0) {
$wp_rewrite->flush_rules();
}
do_action('deleted_post', $postid);
return $post;
}