How to Redirect when an application is submitted in wordpress?

 
    add_action( 'new_job_application', function( $application_id, $job_id ) {
        if ( is_object( $job_id ) ) {
          // We're in WP core's hook.
          return;
        }
        wp_safe_redirect( home_url( '/page-success-application' ) );
        exit;
      }, 999, 2 );

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This