Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ralf Hortt

    (@horttcore)

    There is a new filter confirm-user-registration-error to hook in and only use it for certain roles.

    Hi,

    How can I use this filter?

    I want to use this code:

    if ( 1 == user_can($user_id, 'role') ){ //do user authed }

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can this be applied to certain roles only?’ is closed to new replies.