We are glad to welcome you to our Community Support Forums!
These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform.
The forums are run by the community and moderated by the OneAll team during office hours. Please stick to technical issues - and remember, no confidential information - these are public forums!

How to pass referrer URL from Social Login to another plugin using PHP?

Is there any documentation for how to pass the referrer URL from Social Login to another plugin after a user registers or logs in?

I am using OptimizeMember made by OptimizePress for Wordpress, and it absolutely overrides all redirects, sending registered and logged in users to a default page. I would like them returned to the page they registered or logged in on. Is there a way to pass the HTTP_REFERER or "current page" URL stored by Social Login to another plugin using PHP?

Answers

  • Hi Ozie,

    you can fully customize the redirects in the Social Login settings in your WordPress admin area.
    There is also an option to allow/forbid other plugins to override the redirect.

    Best Regards,
  • Thanks, Claude. I'm fully using these options, but they're not overriding the redirects in OptimizeMember, which is the main plugin on my site. Any thoughts on the PHP coding based option I described?
Sign in with your OneAll account to take part in the discussion.