WordPress.org

Support

Support » Plugins and Hacks » Confirm User Registration » [Resolved] Can this be applied to certain roles only?

[Resolved] Can this be applied to certain roles only?

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 ‘[Resolved] Can this be applied to certain roles only?’ is closed to new replies.
Skip to toolbar