Tutorial: Send an email to the employer when a job listing is approved

Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

Strong communication is definitely an important part of any business or website. So it makes sense that you’d want to email your employers / job listing submitters when their listings are finally approved!

To do so, simply add the following code to the ‘custom functions’ area of your functions.php file (or use a plugin like Code Snippets):

You can customize those messages quite easily, so be creative with it!

Screen Shot 2015-02-18 at 10.21.10 pm

Another option of course is to use a plugin like Post Status Notifier Lite, but some of us prefer to do things ourselves with some code.

↑ Back to Top Send an email to the candidate when their resume is approved

If you’re using the Resume Manager add-on, you can also have an email sent to the candidate when their resume is approved. The code is similar to the above, just with some minor changes:

↑ Back to Top Send an email to candidate when their resume expires