Hi!
While custom code is outside the scope of our support policy, register_post_status()
is the function you’ll want to try out. I’m not sure if it will make the Emails plugin aware of it.
I had this snippet ready so it might be able to get you started, but we can’t provide much more than this. Hope it helps!
https://gist.github.com/jom/f0f14a53d100f118cb1450690807f37c
WordPress core has some limited support for custom post statuses. See note here: https://codex.wordpress.org/Function_Reference/register_post_status
Jake
Hi Jake,
Thank you so much – this is actually exactly what I was looking for. I appreciate it!
Hi again, I spoke too soon. This does the job part-way. I need the front-end user to be able to edit their listings once the status is set to “Needs Changes”, but the listing disappears from their job manager, so I need to make a change somewhere.
Where are the other post status types stored in the files so that I can review? Thank you.
Thanks to both of you for your help. I am looking for the code that would display the “pending approval” status so that I can mimic it for this “needs changes” status. While the “needs changes” status certainly will do part of the job – it doesn’t actually allow job listing owners to access the listing to make changes.
It seems that the request for this has come up in quite a few posts lately. Basically, I am looking for the ability to flag any job posts or resumes that need to makes changes in order to be approved. The most common situations would be for things like, a typo in a link or error in the contact information. I need to be able to alert the member that their listing needs to be fixed, allow them to make the changes and submit for review and ultimately approval.
Hi! We can’t help further with this type of custom code request, but I urge you to use our Github repo as all the code is there and searchable. For example:
https://github.com/Automattic/WP-Job-Manager/search?q=pending+approval&unscoped_q=pending+approval
I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!