Title: update default !!login_link!! Variable
Last modified: February 5, 2020

---

# update default !!login_link!! Variable

 *  Resolved [Rashmi Ranjan](https://wordpress.org/support/users/rrashmi/)
 * (@rrashmi)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/)
 * I want to change default !!login_link!! sent to members via automated email because
   the plugin sent my admin login url to every member of the website which I want
   to change because a separate login link is available for registration and login
   of non admin user and I want to use that link in email templates not the admin
   login url.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/#post-12405465)
 * Hi [@rrashmi](https://wordpress.org/support/users/rrashmi/)
 * Thank you for using Paid Memberships Pro. You are able to edit the email templates
   and hardcode the correct URL instead of using the !!login_link!!.
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/#post-12405488)
 * You may follow this guide to customize the email templates for Paid Memberships
   Pro – [https://www.paidmembershipspro.com/easily-edit-system-generated-email-templates-right-wordpress-admin/](https://www.paidmembershipspro.com/easily-edit-system-generated-email-templates-right-wordpress-admin/)
 *  Thread Starter [Rashmi Ranjan](https://wordpress.org/support/users/rrashmi/)
 * (@rrashmi)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/#post-12405513)
 * Yeah I know that and currently use that addon. Everything works fine except that
   variable. So is there a way to customize that variable value manually then let
   me know.
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/#post-12406157)
 * You are able to use the `pmpro_email_data` filter to adjust the email variables–
   [https://github.com/strangerstudios/paid-memberships-pro/blob/31e9cfe0eb944306221b8fdca8312a46453fbbff/classes/class.pmproemail.php#L94](https://github.com/strangerstudios/paid-memberships-pro/blob/31e9cfe0eb944306221b8fdca8312a46453fbbff/classes/class.pmproemail.php#L94)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘update default !!login_link!! Variable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

## Tags

 * [login link](https://wordpress.org/support/topic-tag/login-link/)
 * [Paid Membership Pro](https://wordpress.org/support/topic-tag/paid-membership-pro/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/update-default-login_link-variable/#post-12406157)
 * Status: resolved