9.4 Shortcodes
MemberDash provides one shortcode and one override of a LearnDash shortcode.
[membersync_groups_link_shortcode]
Outputs a link/button to a groups page.
| Attribute | Default | Description |
|---|---|---|
title | Go to group | The link's title attribute |
url | /groups | The link target |
target | (same tab) | Set to blank to open in a new tab |
text | Go to group | The visible link text |
Example: [membersync_groups_link_shortcode text="My Groups" url="/my-groups" target="blank"]
[ld_infobar] enhancement
MemberDash augments LearnDash's built-in [ld_infobar] shortcode: when the viewer is the owner or manager of a synced team, the infobar shows a "manage your team" callout linking to the team area instead of the default output. For everyone else, the standard [ld_infobar] is unchanged.
Requires the Teams add-on
The [ld_infobar] enhancement only applies when Teams for WooCommerce Memberships is active and the group is synced to a team.