[Solved] Make Task Rocket send an email when a task is completed

June 5, 2015

Task Rocket (taskrocket.info) is a great  tool but its missing one major feature which i hope the developers will take into consideration in future releases.

When a member of the team completes a task, it DOES NOT send me an email telling me the task is completed so I have no idea when tasks are being finished.

So I have made a  quick and dirty function which sends me an email when someone completes a task and you just have to drop it into your functions.php file.

Side Note: Oddly, when a task is marked as completed, task rocket is actually sending the task to the trash, so you need to use the wp_trash_post action i order to catch the action and generate your notification email.