• Resolved montefeni

    (@montefeni)


    After successful account ink through [oa_social_link] shortcode, there is no redirection according to the settings.

    Are there any extra instructions for redirecting ?

Viewing 1 replies (of 1 total)
  • Plugin Author Claude

    (@claudeschlesser)

    Hello,

    for Social Link the default behaviour is to send the user back to the same page.

    What you can do is use an action like this:

    function oa_social_login_redirect_after_link ($user_data, $identity)
    {
      $url = ' ... ';
      wp_safe_redirect($url;);
    }
    add_action ('oa_social_login_action_after_user_link', 'oa_social_login_redirect_after_link', 10, 2);
    • This reply was modified 3 years ago by Claude.
Viewing 1 replies (of 1 total)
  • The topic ‘Social link shortcode Not redirecting’ is closed to new replies.