Skip to content

Instantly share code, notes, and snippets.

Created Feb 4, 2019
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' ) ) ) {
}, 20 );

This comment has been minimized.

Copy link

@datdudejibril datdudejibril commented Feb 28, 2021

Code doesn't work if you're using the WC Paid Listings plugin per this topic:


This comment has been minimized.

Copy link
Owner Author

@jom jom commented Mar 1, 2021

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