Title: Tweaking the plugin
Last modified: August 11, 2025

---

# Tweaking the plugin

 *  Resolved [pstidsen](https://wordpress.org/support/users/pstidsen/)
 * (@pstidsen)
 * [10 months ago](https://wordpress.org/support/topic/tweaking-the-plugin/)
 * Hi there,
 * I would like to ask if it is possible to tweak the plugin to be able to do the
   following two things:
    - Add a couple of custom fields in the registration form – or should I use another
      plugin for customizing the form?
    - Do something programmatically with the user permissions after approval (based
      on the data from the custom fields in registration form).
 * Are something like that possible?
 * Best Regards,
   Peter

Viewing 1 replies (of 1 total)

 *  Plugin Support [muddasirhayat](https://wordpress.org/support/users/muddasirhayat/)
 * (@muddasirhayat)
 * [10 months ago](https://wordpress.org/support/topic/tweaking-the-plugin/#post-18594122)
 * Hi [@pstidsen](https://wordpress.org/support/users/pstidsen/),
 * Thank you for contacting us. We hope you are well.
 * For your first point, our plugin currently doesn’t support adding custom fields
   to the registration form directly.
 * For the second point, if you want to run some custom code after a user is approved,
   our plugin provides a hook you can use. The `do_action` hook. Below is triggered
   after a user is approved, and it passes the `$user` object as an argument:
 *     ```wp-block-code
       // Example Codeadd_action( 'new_user_approve_user_approved', function( $user ) {    update_user_meta( $user->ID, 'approved_by', get_current_user_id() );});
       ```
   
 * Thank you

Viewing 1 replies (of 1 total)

The topic ‘Tweaking the plugin’ is closed to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [muddasirhayat](https://wordpress.org/support/users/muddasirhayat/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/tweaking-the-plugin/#post-18594122)
 * Status: resolved