admin管理员组文章数量:1323716
So I have a configuration that a API returns a ?code=.....
to the URL inside my admin dashboard www.test/wp-admin
.
Is there a hook inside the admin where I can copy the admin url www.test/wp-admin?code=...
and redirect to a settings page?
I'm not asking to write code, I just want to be able to know if it's possible to determine if a query string is present on the admin page, to then redirect the user to a settings page.
Example:
API response returns back www.test/wp-admin?code=...
Copy the ?code
response and redirect user to www.test/wp-admin?page=instagram
and apply the ?code=...
response as www.test/wp-admin?page=instagram&code=....
.
本文标签: queryHook into the Admin Dashboard and redirect users
版权声明:本文标题:query - Hook into the Admin Dashboard and redirect users 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742126150a2421950.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论