[eme_members_report_link]

[eme_members_report_link]

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_id membership id you want to show the members for. Either this or group_id is required.
  • group_id id of the group (of type “member”) you want to show the members for
  • template_id the 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_text title of the link, if not given: “Members CSV”
  • public_access by 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.

 

Example:
[eme_members_report_link template_id=6 membership_id=2]

Scroll to Top