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

    (@cbutlerjr)

    I don’t think that the user’s ID is available to those functions at the hook point for that filter.

    While there are probably other approaches you could explore, I’ll probably be adding a parameter to the filter to allow for such things in the next release – that will include passing the ID, or possibly an array that includes the ID.

    Thread Starter Kristian_D

    (@kristian_d)

    I see, that is good to know.

    is there any way to check user role or id in tis filter?

    Plugin Author Chad Butler

    (@cbutlerjr)

    The next release (2.9.2) will include user ID as a parameter passed to the wpmem_login_redirect filter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘redirect on login’ is closed to new replies.