• Hello,
    thank you for this great plugin!
    Is it possible to redirect users to a specific page right after login? And is it possible to integrate the plugin with Elementor?
    Regards

    • This topic was modified 1 year, 11 months ago by rehatiere007.
    • This topic was modified 1 year, 11 months ago by rehatiere007.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @rehatiere007 ! There are some plugins that redirect users to specific page after login. Maybe this one is usefull: https://www.ads-software.com/plugins/peters-login-redirect/

    Thread Starter rehatiere007

    (@rehatiere007)

    Hi @gtamborero ,
    thank you very much for your answer. I have tried this plugin and also Sky Login Redirect (both in the free version). However, the redirect did not work with them. The process still ends on the confirmation page.
    I will ask the developers of these two plugins whether it works in principle or whether it needs something special for it to work.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Please read readme.txt carefully.
    It contains the following code for redirection.

    /** ==================================================
     * Login user after redirect for Magic Login Mail
     *
     * @param string $url  URL.
     * @param int    $user_id  User ID.
     * @return $url
     */
    add_filter( 'magic_login_mail_after_login_redirect', 'redirect_url_login_users', 10, 2 );
    
    function redirect_url_login_users( $url, $user_id ){
        /* your code */
        return $url;
    }
    Thread Starter rehatiere007

    (@rehatiere007)

    Hi @katsushi-kawamori ,
    thank you for your answer ?? . I had read through the hooks, but was not sure, as I am still relatively new to wordpress and programming.
    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login Redirect’ is closed to new replies.