wpsharks / s2member

s2Member® Framework (membership management for WordPress®).
64 stars 36 forks source link

Feature Request: Add %%wp_login_url%% replacement code for Modification Confirmation Email #898

Open kristineds opened 8 years ago

kristineds commented 8 years ago

It would be nice if we could add %%wp_login_url%% as one of the replacement codes available for the Payment Gateway Modification Confirmation email. There are various Replacement Codes available for use in this email, but %%wp_login_url%% is not one of them.

(See: WordPress Dashboard → s2Member®(Pro) → [Payment Gateway] Options → Modification Confirmation Email (Pro-Form))


Requested here: internal/private ticket

KTS915 commented 8 years ago

This could be addressed at the same time as Issues #703 and #849.

jaswrks commented 8 years ago

Thanks for this request. Until this is made available, it might be helpful to know that the WP login URL is always the same for each user on a given site.

e.g., http://example.com/wp-login.php

So hard-coding this is trivial and perfectly acceptable; i.e., it doesn't require a Replacement Code.

jaswrks commented 8 years ago

Noting also that all s2Member email templates support PHP tags also, so this is possible in an email body that you customize with s2Member; i.e., you can use a PHP tag also.

<?php echo wp_login_url(); ?>