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 ); |
This comment has been minimized.
This comment has been minimized.
That's correct if you have people pay for the job package at the end of submission. For that, you'd need to hook into WooCommerce's checkout flow. Quick Google showed this article, which might be helpful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Code doesn't work if you're using the WC Paid Listings plugin per this topic: https://wordpress.org/support/topic/redirect-to-dashboard-after-job-submission/