admin管理员组文章数量:1287515
I have 2 sites, a WordPress site and an external php site (hosted on a subdomain, not in the same directory as WP).
I would like the external site to get the current logged in user id, in order to display the relevant data in the external site. If the user is not logged in, it will redirect to /wp-login before redirecting back to the external site.
Would love some advice on how shall I approach this issue.
本文标签: Get current loggedin user from external site
版权声明:本文标题:Get current logged-in user from external site 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741255564a2366605.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论