WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Redirect user upon login

[Resolved] Redirect user upon login

  • I was wondering can you redirect a user upon logging into a secure area depending on their saved data. I require a user to be directed to a certain url depending on a ‘region’ they selected in the registration form. Like choosing A,B,or C in a select/drop-down list in the form. Is there a way to achieve this in the WP Members plugin?

    http://wordpress.org/extend/plugins/wp-members/

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    @cbutlerjr

    There are a couple of redirect hooks that would serve you in this area – one if wpmem_login_redirect, which is a filter hook and wpmem_register_redirect, which is an action hook. (Documentation on all hooks is available here: http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/)

    The advantage the hook gives you is that you can write into your filter or action function whatever criteria you need to base the redirect on.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Redirect user upon login’ is closed to new replies.