Add exit hooks to wp_insert_category(). Props kevinB. fixes #4056

git-svn-id: https://develop.svn.wordpress.org/trunk@5157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-03-31 21:33:33 +00:00
parent 47ebdc76c7
commit c37bf4c8d5

View File

@ -152,6 +152,11 @@ function wp_insert_category($catarr) {
clean_category_cache($cat_ID);
if ($update)
do_action('edited_category', $cat_ID);
else
do_action('created_category', $cat_ID);
return $cat_ID;
}