• Resolved ibrar505

    (@ibrar505)


    Hello,

    I have setup the Post login redirects as you can see in screenshot

    https://ibb.co/bz8DS5T

    I tried the Hooks as per your great documentation

    `// If your function ‘your_function_name’ exists outside of PHP class
    add_action(‘mo_oauth_redirect_oauth_users’, ‘your_function_name’ , 10, 1);

    // Function Definition
    function your_function_name( $after_login_url ) {
    // $after_login_url : contains url to be redirected to after login
    return “/dashboard/”;
    }

    But it always redirected to main site.

    I tried to disable all plugins and themes still nothing. I tried wp_login and nothing. in wp_login hook there is no user logged in.

    Kindly tell me what to do with this.

    Best regards,
    Ibrar

Viewing 1 replies (of 1 total)
  • Hi Ibrar,

    Thanks for reaching out to us.

    The functions and hooks that you are using are of another product. You just have to make the changes in the plugin in Redirect options and that should work perfectly.

    Please let us know if you have any other questions.

    You can also contact us by e-mail from the plugin support form or by e-mail at the e-mail address provided on our website. This way we can figure out the exact problem and we will be able to help you much more efficiently.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘User post login Not working’ is closed to new replies.