Way to show submitted content message on job dashboard?
-
I am using the “Redirect to Job Dashboard after job submission” code snippet (below) so that when a job post is submitted, the user is redirected back to the job dashboard.
add_filter( 'job_manager_job_submitted', function() {
if ( wp_redirect( job_manager_get_permalink( 'job_dashboard' ) ) ) {
exit;
}
}, 20 );If I don’t use this snippet, the default behavior is that the user remains on the job post submission page (which doesn’t make sense to me, thus the snippet above), but a submitted content notification is displayed (like this), which is a helpful message for the user.
Is there a way that the code snippet above or the job-submitted.php template, where these notifications can be found, can be modified, so that the content notification displays on the page that the user is redirected to?
…I know any complex code customization can’t be done by official WPJM support staff here, but just in case anyone else might know, or there actually is an easy modification / pre-existing code snippet that exists to do this, I thought I’d ask (and if not, request this as an enhancement).
- The topic ‘Way to show submitted content message on job dashboard?’ is closed to new replies.