Support » Plugin: Membership 2 » Parsing PHP in custom field (no access message)

  • Stefan



    I have a ‘login’ link in the shortcode ‘no access message’ custom field box of Membership plugin. I’d like to use the following redirect code to refer the user back to the previous page but it doesn’t allow PHP to be inserted. How do I get around this wicthout hacking the plugin?

    <a href=”/wp-login.php?redirect_to=<?php echo $_SERVER[‘REQUEST_URI’];
    ?>” class=”simplemodal-login”>Log In

    Any help would be great!


  • The topic ‘Parsing PHP in custom field (no access message)’ is closed to new replies.