Wordpress Plugin that adds categories to posts on save, that are in the same term_group