Email Notifications for Draft Posts in WordPress
By S B
15 hours agoApr • 2025

Automating Editorial Notifications in WordPress: Email Alerts for Draft Posts
Managing a growing WordPress site often means juggling multiple contributors, drafts, and deadlines. To streamline the editorial process, I created a simple yet powerful automation script that notifies the editor every time a post is saved as a draft.
This solution is especially useful for teams where contributors submit content via the frontend or backend, but editorial oversight is still required before publication. With this script in place, the moment a post is marked as a draft—either manually or programmatically—an email is automatically sent to the assigned editor, providing a heads-up that a new draft is ready for review.
How It Works
The script hooks into WordPress’s save_post
action and checks if the post status is set to draft
. If it is, it fetches the post title and a direct link to edit the post in the admin panel, then sends an email to the editor’s address.
Key Benefits
- Instant Alerts: Editors are notified immediately without needing to constantly monitor the dashboard.
- Streamlined Workflow: Keeps content moving efficiently from draft to review to publication.
- Customizable: You can easily change the recipient, message content, or even trigger based on post type or category.
This small but impactful enhancement saves time, improves communication between contributors and editors, and ensures that no draft slips through the cracks.
To download this free plugin, you must sign up or login at the community:
https://wpscriptly.com/community/
Direct link: https://wpscriptly.com/community/space/freecommunitypluginsscriptscoding/post/email-notifications-for-draft
Comments: