If the user is logged in and has the permissions to list members, this shortcode generates a link to a CSV export for the members of the configured group or membership. It accepts the following parameters:
membership_idmembership id you want to show the members for. Either this or group_id is required.
group_idid of the group (of type “member”) you want to show the members for
template_idthe template defining one line in the CSV report. This needs to be a comma-separated list and contains usually member placeholders.. Example of a template could be “#_LASTNAME,#_FIRSTNAME,#_MEMBERENDDATE”
template_id_header(optional) defines the first line in the CSV output. Useful to add headers for each column (also needs to be comma-separated, but can’t contain any placeholders)
link_texttitle of the link, if not given: “Members CSV”
public_accessby default the report is only accessible to people with correct permissions. If you activate this option, this report becoms accessible for everyone on the condition the page that contains the shortcode is password protected.
[eme_members_report_link template_id=6 membership_id=2]