Title: Use with ACF?
Last modified: November 12, 2021

---

# Use with ACF?

 *  Resolved [anphira](https://wordpress.org/support/users/anphira/)
 * (@anphira)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/use-with-acf-2/)
 * I’d like to add ACF fields to the actual groups page. So the [https://example.com/wp-admin/admin.php?page=groups-admin&group_id=4&action=edit&paged=0](https://example.com/wp-admin/admin.php?page=groups-admin&group_id=4&action=edit&paged=0)
 * Where it has name, parent, description, capabilities. I’d like to add more fields
   here so that I could set preferences for my site at the Group level.

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

 *  [gtsiokos](https://wordpress.org/support/users/gtsiokos/)
 * (@gtsiokos)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/use-with-acf-2/#post-15076806)
 * Hi Anphira,
 * Even though I’m not aware of the details why and how you are going to use these
   ACF fields, I would advice you against that approach. The group edit page is 
   using its own form, its own validation for that form and stores the submitted
   data to the appropriate tables of Groups plugin. For that reason I think it would
   be better if you create a new admin page and provide a new dedicated form for
   the group where you can add/define additional ACF fields and on submit choose
   where you are going to store that data.
 * Kind regards,
    George
 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/use-with-acf-2/#post-15081299)
 * There are filters and actions in Groups that are provided for the purpose of 
   extending the add and edit group screens:
 * Add Group …
 * Filter: groups_admin_groups_add_form_after_fields – this filter allows to add
   HTML within the form presented to add a group. The filter receives an empty string
   and is expected to return desired additional HTML.
 * Action: groups_admin_groups_add_submit_success – this action is invoked if a 
   group has successfully been created upon form submission and can be used to process
   additional form data as needed. The action receives a single argument, the ID
   of the group.
 * Edit Group …
 * Filter: groups_admin_groups_edit_form_after_fields – allows to add HTML within
   the form used to edit a group. The filter receives an empty string and is expected
   to return desired additional HTML.
 * Action: groups_admin_groups_edit_submit_success – invoked after group has been
   updated, use it to update things based on your additional form data. The action
   receives a single argument, the ID of the group.
 * These actions and filters should be documented on [https://docs.itthinx.com/document/groups/api/actions/](https://docs.itthinx.com/document/groups/api/actions/)
   and [https://docs.itthinx.com/document/groups/api/filters/](https://docs.itthinx.com/document/groups/api/filters/)
   but they are currently missing from those pages so that needs to be added. Note
   taken.
 * I hope that helps and I’ll mark this as solved but please let me know if there
   are questions.

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

The topic ‘Use with ACF?’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups - Memberships and Access Control](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/)

 * 2 replies
 * 3 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/use-with-acf-2/#post-15081299)
 * Status: resolved