Instantly share code, notes, and snippets.

@jom jom/redirecToJD.php
Created Feb 4, 2019

Embed
What would you like to do?
Redirect to job dashboard after job has been submitted
add_filter( 'job_manager_job_submitted', function() {
if ( wp_redirect( job_manager_get_permalink( 'job_dashboard' ) ) ) {
exit;
}
}, 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment