Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Affiliate – Custom thank you page for affiliate registration

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate – Custom thank you page for affiliate registration

  • This topic has 4 replies, 2 voices, and was last updated 9 years, 5 months ago by ruschellekhanna.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 29, 2016 at 6:10 am #12481
    ruschellekhanna
    Member

    I need to use a custom thank you page for affiliate registrations. I have gone through the PHP files but I can’t seem to find the right place. I have made changes in several php files and tested and then reverted back. Any help with this would be appreciated.

    Also I do not want to modify the current thank you, I just want to replace it with a page I have already made.

    January 30, 2016 at 12:44 am #72443
    admin
    Keymaster

    So you want to redirect to that custom thank you page after the registration is complete?

    Which affiliate portal option are you using?

    https://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    January 30, 2016 at 5:39 pm #72444
    ruschellekhanna
    Member

    Yes, that is correct. I am using [wp_affiliate_view2]

    January 30, 2016 at 11:44 pm #72445
    admin
    Keymaster

    okay the best option is to use affiliate registration complete action hook. That way you are not modifying the core plugin code.

    The following is an example snippet of code that shows you how to use this action hook. You can add it to your theme’s functions.php file OR your custom plugin.

    add_action ('wp_aff_registration_complete', 'custom_affiliate_redirection');
    function custom_affiliate_redirection()
    {
    //TODO - The affiliate registration is complete, do the redirection.

    $url = 'www.example.com/custom-page';//Your redirection page URL
    header('Location: ' . $url);
    }

    February 1, 2016 at 6:30 pm #72446
    ruschellekhanna
    Member

    That worked, Thank you.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ