Confirmation Message job-manager-message on redirected page
-
Hi Everyone,
I have implemented a redirect after job submission. Basically I wanted to redirect the user after successfully submitting a a Job to their Dashboard page. Which works fine.
But since the redirect has been implemented I am no longer getting the nice
“Your changes have been saved. View →” type of Message confirmationHere is the code for the redirect
add_filter( 'submit_job_steps', 'replace_done_with_redirect' ); function replace_done_with_redirect( $steps ) { $steps['done'] = array( 'priority' => 30, 'handler' => function() { if ( wp_redirect( job_manager_get_permalink( 'job_dashboard' ) ) ) { exit; } }); return $steps; }
Is there anything I can do to make the default success message (ie: “Your job is now posted”) to showon the redirected page? I my case the dashboard page.
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Confirmation Message job-manager-message on redirected page’ is closed to new replies.