Where to change site_login_url ?

I would like to change the [site_login_url] from the default to my affiliates log-in page. I can do this manually with HTML on the application received/approval email, but in the screen that appears after submitting the registration form, the user sees the default link and I don’t know where to change that. Where do I change [site_login_url] ? Thank you.


Comments

2 responses to “Where to change site_login_url ?”

  1. Thank you!

  2. Hi Jen,

    If you are referring to the link Login here, you can change this put the filter affiliates_registration_login_redirect_url in your functions.php file of your child theme.
    Try the following snippet:

    add_filter( 'affiliates_registration_login_redirect_url', 'gt_affiliates_registration_login_redirect_url' );
    function gt_affiliates_registration_login_redirect_url( $url ) {
    return 'http://link_to_your_affiliate_area_page';
    }

    Kind regards,
    George

Share