Redirect vendor to different page after submitting listing

Hi there,
how can I change the redirect URL from the submit listing form to a different URL?
I want it to go to the Account Settings Page instead.

Hi,

Please note that this is a WP-level request; try using the WP hook template_redirect or a third-party plugin that allows you to add rules.

Thanks Andrii, I did a bit more digging and actually found this solution to be a better fit:

add_filter(
 'hivepress/v1/forms/listing_submit',
 function($form){
  $form['redirect'] = 'https://merlin.com.es/account/listings/';
  return $form;
 },
 1000
);

Actually, this skips the package selection for submitting listings.
What is the form for the package submission?

@andrii

Hi,

Unfortunately, there is no way to redirect from the process listing to another URL and keep the logic intact. Because the listing submission process is a multi-step process, and if you redirect from any step to another page, then there will be no way to go back in a simple way. If you need to redirect back to the step, you can, of course, copy the URL and redirect it that way, but unfortunately, there is no guarantee that this will work.