I am trying to send an email after a new post has been created. It needs to be sent after the creation of the post, because I want to include the post category in the email. wp_after_insert_post does not seem to work, as no email is sent. I have tried using the same code with the publish_post hook instead, which
Tag: add-action
show category and tags when using register_post_type
So i used register_post_type to add books post_type section. But i want to show category and tags(and more) on the back panel edit.php. I know how to this(adding custom fields) in regular post. …