Viewing 1 replies (of 1 total)
  • Thread Starter amila

    (@flatworld21)

    OK I solve it by this
    paid-memberships-pro/preheaders/checkout.php

    if (!is_user_logged_in()){
    $return_url = site_url().’/login/?redirect_to=’ . urlencode( $_SERVER[‘REQUEST_URI’] );
    wp_redirect($return_url);
    exit();
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Need login’ is closed to new replies.