Viewing 1 replies (of 1 total)
  • If you add this line of code to where you want to activate a user, for example, in the code you provided above, the user will be activated automatically.

    do_action( 'new_user_approve_approve_user', $user_id );

Viewing 1 replies (of 1 total)

The topic ‘Automatic appoval’ is closed to new replies.