I have multiple Custom Post Types and I want to send email notification to admin on post published from any of those post types.

I managed to send email via publish_{my-custom-posttype} hook but don’t want to invoke for each custom post type seperately. Is it possible by some means with single hook?

Read more here: Send Email Notification On Any Custom Post Type Posts Published


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: