• Resolved rebecca-paisley

    (@rebecca-paisley)


    Is there a way to extend the plugin, so that each donation form has its own customized success page? That way form 1 goes to page 1 and form 2 goes to page 2 after successful form submission

    I attempted using an if statement with the form id and the “wp_redirect,” but that didn’t work, so I am wondering if there is a different way to achieve this or if I am doing it wrong all together.

    Below is what I used the first time, but there is definitely something wrong with that code.

    ‘function custom_add_save($postID){
    if($form_id == ‘4204’) { wp_redirect(‘https://thank-you’) }
    }’

    https://www.ads-software.com/plugins/give/

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    HI there,

    We’re planning to implement this feature in the future but don’t currently have a timeline for that. This request is a bit outside the scope of our support since it’s custom development, but I believe you’d do best by using the give_get_success_page_uri filter rather than wp_redirect.

    That filter is found in “give\includes\forms\functions.php”

    Dig into that and let me know if you have further questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Success Pages’ is closed to new replies.