Title: Using hook
Last modified: August 21, 2016

---

# Using hook

 *  [poco06](https://wordpress.org/support/users/poco06/)
 * (@poco06)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-hook/)
 * Hello,
 * I’m very happy with your plugin and would like to use it in my hooks. The aim
   is when a user register, to be able to place him in a specific group automatically.
   
   I’ve seen the shortcode [groups_join group=”X”] but would prefer to use a function
   instead of the shortcode (to apply as soon as the form is filled). Could you 
   indicate me which function I need to use for this and how. Many thanks Pat
 * [http://wordpress.org/plugins/groups/](http://wordpress.org/plugins/groups/)

The topic ‘Using hook’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [users](https://wordpress.org/support/topic-tag/users/)

 * 0 replies
 * 1 participant
 * Last reply from: [poco06](https://wordpress.org/support/users/poco06/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/using-hook/)
 * Status: not resolved