Home Forums Plugin Support WP User Frontend Pro Redirect login

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  yoann bournazaud 3 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52072

    yoann bournazaud
    Member
    Post count: 25

    Hi,

    I would like to redirect users to the previous page after they are connected

    I know that this code allows the redirection on a fixed page but I don't know redirect on the page visited by a user before he connects.

    add_filter(‘wpuf_login_redirect', ‘login_redirect');
    function login_redirect($redirect){

    $redirect = home_url(‘/your own page') ;
    return $redirect;
    }

    Thank you veru much

    #52082

    towhid
    Participant
    Post count: 4505

    Hello Yoann,

    Actually this is not possible right now. You need to do huge customization of the plugin. If you need this feature urgently please hire a developer.

    Thanks

    #52084

    yoann bournazaud
    Member
    Post count: 25

    oK ๐Ÿ™

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Redirect login’ is closed to new replies.