Forum Replies Created

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

    (@jarvisx)

    Worked brilliantly. Thank you!

    The only thing is the

    $redirect_to = 'http://www.mafclubs.com';
    wp_safe_redirect( $redirect_to );
    exit();

    Needs to sit above:

    $redirect_to = !empty( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : 'wp-login.php?loggedout=true';
    wp_safe_redirect( $redirect_to );
    exit();

Viewing 1 replies (of 1 total)