[wt-group]
[wt-group] is a simple shortcode to display the user’s current group.
Shortcode Arguments
The shortcode supports the following arguments:
Argument | Description | Options | Example |
---|---|---|---|
no-group-text | Message to display if the user isn't in a group. | String. Defaults to "No Group" | [wlt-group no-group-text="You are not in a group"] |
user-id | Specify the user ID to display the group for. By default, it will show the group for the current user | Number. Defaults to user ID of the logged in user. | [wlt-group user-id=3] |
Help Guide Powered by Documentor