Email notification of deleted media

Have you ever wondered how to send a notification of deleted media in WordPress? With a free plugin we are going to use it's super simple to set it up with your own custom content.

Install Notification plugin

The Notification plugin will allow you to set up your notification of deleted media. It's a free plugin available on that covers almost every notification scenario in WordPress.

Go to the plugin installation screen and install and activate the "Notification" plugin with logo on a vivid green background.

Add new Notification

In your WordPress admin menu you should notice new "Notifications" item. Select the "Add new Notification" link to start creating your alert.

One thing that you should know about the title is that it's visible only to you.

Select your trigger

The trigger is an action upon which the email is sent. This is where you can select deleted media to send an email you want.

Each trigger has his own set of the Merge Tags. These are simple bits of dynamic content that are replaced upon the submission with the actual values. Using them you can make your message looking very nice and crafted for the particular scenario. See how the Merge Tags works.

Set the Subject line

Next step is the email subject.

Write the email body

Next, body of the email. Because the message is sent as HTML you are ok to use any text formatting and Merge Tags.

Set up the recipients

The recipients section is a simple list of static emails, WordPress users, Merge Tags, Roles or Administrator. You can define as much of the recipients as you need.

Save the email notification

Saving the notification works just like publishing the post. The one difference is that Notification can be either enabled or disabled.

And voila!

1 person considered this helpful