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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-03-31 21:41:08 +00:00
parent b9ddc875bf
commit eaac63e0d0
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;
}