People placeholders are placeholders you can use in emails to all EME people, rsvp info, attendee info etc (all things related to people).
Below are all the possible placeholders, but to avoid clashing with placeholders from events, bookings, … you can (should) use “#_PERSON” in front of all related placeholders (so #_EMAIL can be #_PERSONEMAIL etc …).
#_DBFIELD{xx}
displays the database value of the current person property ‘xx’ (with ‘xx’ being ‘birthdate’, ‘lastname’, etc … see eme_people.php, function eme_new_person) This can replace a number of more specific placeholders below (and future placeholders can be avoided like this too)#_PERSONID
displays person’s ID#_PERSONWPID
returns the wp id of the person you’re looking at via if hat person is linked to a wordpress user, so you could then show a list of events where that person is contact for (as an example)#_LASTNAME
displays the last name of the respondent.#_FIRSTNAME
displays the first name of the respondent.#_FULLNAME
displays the full name of the respondent (format is set in the EME settings).#_EMAIL
displays the e-mail address of the respondent.#_PHONE
displays the phone of the respondent.#_ADDRESS1
,#_ADDRESS2
,#_CITY
,#_STATE
,#_ZIP
or#_POSTAL
,#_COUNTRY
,#_BITHDATE
,#_BIRTHPLACE
(pretty obvious …)#_BIRTHDAY_EMAIL
shows the text (yes/no) that indicated if a person wants an email on their birthday (or not)#_NICKNAME
,#_DISPNAME
displays the nickname or displayname for a booker if the user is a wordpress user.#_FIRSTNAME{x}
and#_LASTNAME{x}
shows only the first x characters of the first or last name, followed by “.”#_GROUPS
returns a comma-separated list of groups a person is in#_MEMBERSHIPS
returns a comma-separated list of memberships a person is in#_INITIALS
displays the full name initials of the person#_LASTNAME_INITIALS
displays the last name initials of the person#_RANDOMID
displays the person’s random id (see the doc on eme_person shortcode)#_UNSUB_URL
displays the unsubscribe url. Use this when you send a mail to all people that ever registered in EME (newsletter, or in ‘Send mails’ submenu)#_MASSMAIL
shows the current massmail preferences for this person (‘Yes’ or ‘No’ field)#_GDPR
shows if the person approved for storage of personal info (GDPR related) (‘Yes’ or ‘No’ field)#_FIELD{xx}
returns the answer (the tag, not the real value chosen for multi-option fields) for the extra form field with ID or name xx. For fields of type “file” it will return a list of clickable links.#_FIELDVALUE{xx}
returns the answer (not the tag, but the real value chosen for multi-option fields) for the extra form field with ID or name xx. For fields of type “file” it will return the url to the file.#_IMAGE
returns the image for the person (if any)#_IMAGEURL
returns just the url to the image of the person, if you want to create your own links or smaller image or so#_IMAGETHUMB
shows a thumbnail of the image, instead of the whole image. The size can be choosen in the EME settings (panel ‘Other’), by default it is ‘thumbnail’ size#_IMAGETHUMB{MyCustomSize}
shows a thumbnail of the specified custom size of the image, instead of the whole image. The size is a custom size either known to wordpress or defined in your functions.php via the function add_image_size()#_IMAGETHUMBURL
returns the url to the thumbnail#_IMAGETHUMBURL{MyCustomSize}
returns the url to the thumbnail of the specified custom size. The size is a custom size either known to wordpress or defined in your functions.php via the function add_image_size()#_IMAGETITLE
,#_IMAGEDESCRIPTION
,#_IMAGEALT
and#_IMAGECAPTION
return the image title, descripton, alternative title and caption (the 4 wordpress properties you can set for an image)#_IS_PERSON_IN_GROUP{xxx}
returns ‘1’if the person is in the EME group with id ‘xxx’, ‘0’ otherwise. Multiple groups can be specified, separated by “,”.#_IS_PERSON_MEMBER_OF{xxx}
returns ‘1’if the person is an active member of the EME membership called ‘xxx’, ‘0’ otherwise. Multiple memberships can be specified, separated by “,”.