This snippet for example will email on EVERY post:
function email_friends( $post_ID )
{
$friends = 'bob@example.org, susie@example.org';
wp_mail( $friends, "sally's blog updated", 'I just put something on my blog: http://blog.example.com' );
return $post_ID;
}
add_action('publish_post', 'email_friends');
... whereas I just need add_action to run ONLY if the post is in category say "uncategorized", not any other category.
Thanks!