Draft Notification Plugin for WordPress
This WordPress plugin automatically emails the admin when a new draft is saved. The email contains the post’s title, the author, and a link. There is no options page currently, because there is really nothing to configure. The plugin now supports the new ‘pending’ status.
Download
- Latest Release (For WordPress 2.0 through 2.5)
Instructions
- Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
- Enable the plugin.
Change Log
- 04-27-08 Version 1.21 - Updated to work with WordPress 2.5 and the ‘pending’ status.
- 05-16-07 Version 1.2 - Updated to work with WordPress 2.2.
- 10-20-06 Version 1.1 - The emails now contain the author’s name, instead of ID.
- 04-22-06 Version 1.0 - First release.
Notes
Because of the way this plugin works, it also sends out an email when an existing draft has been saved again. There does not seem to be an efficient way to check to see if it is the first time the draft has been saved, since dates are not stored for drafts.
By default, the author’s display_name is shown in the email. If you would prefer to see the login_name, or nice_name field, just look for the line in the script that says “Choose one of the following options to show the author’s name” and uncomment the option you would like to use.
Modifications
If you would rather have the email notification sent to the author of the post, instead of the admin, replace this line:
$recipient = get_bloginfo('admin_email');
With this:
$recipient = get_the_author_email();

Jump to Comments