Shortcodes

[wlt-group]

The following shortcode is available in the Pro version only and available from version 7.0 onwards.

[wlt-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]
Yes No Suggest edit
Help Guide Powered by Documentor
Suggest Edit