Title: Make user pending
Last modified: April 27, 2018

---

# Make user pending

 *  Resolved [tonio7788](https://wordpress.org/support/users/tonio7788/)
 * (@tonio7788)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-user-pending/)
 * Hi, I use “contact form 7 frontend registration” for register users.
 * “bp registration option” is not compatible and admin approval is not necessary.
 * I try to add :
 * `update_user_meta( $user_id, '_bprwg_is_moderated', true );`
 * After user is created with wp_insert_user function.
 * But is seems it is not sufficient.
 * I have to add an other code ?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-user-pending/#post-10223580)
 * Not sure at the moment, to be honest. If the CF7 frontend registration ends up
   triggering the `user_register` core WordPress hook, then our setup should be 
   working and at least adding the user meta we utilize. That’s the hook we tap 
   into for marking users as moderated.
 *  Thread Starter [tonio7788](https://wordpress.org/support/users/tonio7788/)
 * (@tonio7788)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-user-pending/#post-10223582)
 * Yes but wich meta value add to marking user as pending ?
 *  [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [8 years ago](https://wordpress.org/support/topic/make-user-pending/#post-10304175)
 * Not sure how I missed seeing this.
 * To mark them as moderated:
 *     ```
       update_user_meta( $user_id, '_bprwg_is_moderated', 'true' );
       ```
   
 * To mark them as not moderated:
 *     ```
       update_user_meta( $user_id, '_bprwg_is_moderated', 'false' );
       ```
   
 * You can also use our built-in function if you prefer:
 *     ```
       //Set $status to either "true" or "false" as a string, not as a boolean.
       bp_registration_set_moderation_status( $user_id, $status );
       ```
   
    -  This reply was modified 8 years ago by [Michael Beckwith](https://wordpress.org/support/users/tw2113/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make user pending’ is closed to new replies.

 * ![](https://ps.w.org/bp-registration-options/assets/icon-256x256.png?rev=2882040)
 * [Registration Options for BuddyPress](https://wordpress.org/plugins/bp-registration-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-registration-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-registration-options/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-registration-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-registration-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-registration-options/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/make-user-pending/#post-10304175)
 * Status: resolved