My website is set up with pages as categories, meaning that if a user publishes without choosing a category, no one can see the post unless they know the specific address.
What do I need to hook into in order to check if a category is chosen after the "publish" button is pressed but before the post is published publicly?