Email Notifications for Draft Posts in WordPress

By WP Scriptly

20 days ago

Apr 2025

🕑 2 min read

👁 Views: 36

(0) Leave a Comment

Notify-editor
Notify-editor

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

Share me:
Author: WP Scriptly, Admin at WpScriptly

Hey, I’m Scot, the guy behind WpScriptly. I create simple, no-fluff WordPress plugins and tools to make your site easier to manage and more powerful. Everything I build is tested on my own projects first — if it’s here, it’s because it works. Thanks for checking out the site. Hope you find something useful at Wp Scriptly.

*These scripts and plugins are provided as is with no guarantees or warranties. If you need assistance or run into issues, feel free to reach out via the contact page.

Comments: