Primary

[groups_join]

Let a user join a group

[groups_join group="X"]

This shortcode takes the following attributes to let a user join a specific group:

  • group : (required) the group ID or name
  • display_message : (optional) whether to show a confirmation after joining the group; accepted values: true, false; defaults to true
  • display_is_member : (optional) whether to show that the user is a member of the group; accepted values: true, false; defaults to false
  • submit_text : (optional) specify to change the button text; must contain %s to show the group name; default button text is “join the X Group”.