• Resolved kenn_icuk

    (@kenn_icuk)


    anyone got advise on this?

    Can see there is two refereces to the param in pmpro-email-templates.php

    if(empty($new_data[‘login_link’]))
    $new_data[‘login_link’] = wp_login_url();

    When i modify this with my own data, it does not work, any ideas? basically i have a login page on the front end of the site, which is where i want that to send them.

    Cheers,

    Kenn

Viewing 1 replies (of 1 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi Kenn,

    Thank you for using Paid Memberships Pro.

    Inside the email templates, you may simply specify the actual URL you want to display instead of using the !!login_link!! variable.

    For example: https://www.mysite.com/login-page

    If you still want to adjust the !!login_link!! variable, you may use the following filter to adjust the value for the login_link (or any other variable) -https://www.paidmembershipspro.com/hook/pmpro_email_data/

Viewing 1 replies (of 1 total)
  • The topic ‘Modify value of !!login_link!!’ is closed to new replies.