Title: Q? Plugin functionality &#8211; URL redirect using wp_get_current_user()
Last modified: March 23, 2022

---

# Q? Plugin functionality – URL redirect using wp_get_current_user()

 *  Resolved [taylordo](https://wordpress.org/support/users/taylordo/)
 * (@taylordo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/q-plugin-functionality-url-redirect-using-wp_get_current_user/)
 * Hello,
 * I am looking to direct logged users and non-logged users to different forms on
   my website.
 * Can this plugin obtain the logged users details using ‘wp_get_current_user()’
   and add to a URL? For example, yourawsomesite.com/link-to-the-form/?name=John
   Doe&email=email@email.com?
 * If so, does this plugin offer conditional URL forwarding based on the value of‘
   wp_get_current_user()’?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fq-plugin-functionality-url-redirect-using-wp_get_current_user%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * (@mlchaves)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/q-plugin-functionality-url-redirect-using-wp_get_current_user/#post-15508535)
 * Hey [@taylordo](https://wordpress.org/support/users/taylordo/),
 * Thanks so much for reaching out.
 * Content Control restricts content based on roles only not individual details 
   from `wp_get_current_user()`.
 * We also don’t have a way to send [sensitive PII GET query parameters](https://danielmiessler.com/blog/sensitive-information-sent-in-the-url-over-https/)
   in a URL. We definitely don’t recommend doing that.
 * We hope that helps.
 * Let us know if you need anything else.
 * Have a great day 🙂

Viewing 1 replies (of 1 total)

The topic ‘Q? Plugin functionality – URL redirect using wp_get_current_user()’ is
closed to new replies.

 * ![](https://ps.w.org/content-control/assets/icon-256x256.gif?rev=2968535)
 * [Content Control - The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More](https://wordpress.org/plugins/content-control/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-control/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-control/)
 * [Active Topics](https://wordpress.org/support/plugin/content-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-control/reviews/)

## Tags

 * [current user](https://wordpress.org/support/topic-tag/current-user/)
 * [logged users](https://wordpress.org/support/topic-tag/logged-users/)
 * [query parameter](https://wordpress.org/support/topic-tag/query-parameter/)
 * [wp_get_current_user](https://wordpress.org/support/topic-tag/wp_get_current_user/)

 * 1 reply
 * 2 participants
 * Last reply from: [mark l chaves](https://wordpress.org/support/users/mlchaves/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/q-plugin-functionality-url-redirect-using-wp_get_current_user/#post-15508535)
 * Status: resolved