• Resolved davidebr90

    (@davidebr90)


    Hi, I would need registered users to be self-approved by default, and then later I can manually disapprove them. How can I enable this condition? Is there any line of code that I can modify to enable this self-approval condition for registration?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Konstantin Obenland

    (@obenland)

    Sure, just hook into user_register and run update_user_meta( $id, 'wp-approve-user', true );

    Thread Starter davidebr90

    (@davidebr90)

    A thousand thanks ! you don’t know how much I appreciate your work.

    Thread Starter davidebr90

    (@davidebr90)

    I would find it very useful if you put a flag in the plugin GUI to activate or deactivate this function ?? however your hook worked great

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable auto-approve function’ is closed to new replies.