Title: Hook on registration
Last modified: November 25, 2024

---

# Hook on registration

 *  Resolved [calliko](https://wordpress.org/support/users/calliko/)
 * (@calliko)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/hook-on-registration/)
 * Hello. I have a bonus system plugin. It awards points for registration using 
   the hook add_action(
   ‘user_register’, ‘addPoints’ );But when registering through
   your plugin, points are not awarded. Apparently, when registering through your
   plugin, the hook “user_register” does not work. Maybe you have your own hook 
   to add points to my users?

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

 *  Plugin Author [Irshad Ahmad](https://wordpress.org/support/users/irshadahmad21/)
 * (@irshadahmad21)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/hook-on-registration/#post-18158108)
 * Hello,
 * You can use the `wptelegram_login_after_insert_user` action documented [here](https://github.com/wpsocio/wp-projects/tree/9bd6864d27e1176ea3938fb9b4646472b50679a5/plugins/wptelegram-login/docs#wptelegram_login_after_insert_user).
 * It has pretty much the same signature as that of `user_register` hook.
 *     ```wp-block-code
       add_action( 'wptelegram_login_after_insert_user', 'addPoints', 10, 2 );
       ```
   
 *  Thread Starter [calliko](https://wordpress.org/support/users/calliko/)
 * (@calliko)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/hook-on-registration/#post-18158114)
 * Yes. I am currently studying your code and have come to the same conclusion. 
   Thank you! The topic can be closed.

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

The topic ‘Hook on registration’ is closed to new replies.

 * ![](https://ps.w.org/wptelegram-login/assets/icon-256x256.png?rev=2483013)
 * [WP Telegram Login & Register](https://wordpress.org/plugins/wptelegram-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptelegram-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptelegram-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wptelegram-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptelegram-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptelegram-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [calliko](https://wordpress.org/support/users/calliko/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/hook-on-registration/#post-18158114)
 * Status: resolved