Esta etiqueta muestra los datos asociados con el usuario conectado en ese momento.
Atributos
nombre – Indicates what type of data to output from the current member’s account. Below is a list of acceptable values:
| Valor | Descripción |
id | Outputs the current member’s ID |
firstName | Outputs the current member’s first name |
apellido | Outputs the current member’s last name |
nombre de usuario | Outputs the current member’s username |
contraseña | Outputs the current member’s password only in the Welcome Email. In all other cases, it will output astericks. Consulte 2.2.3 Notas de la versión para más información. |
correo electrónico | Outputs the current member’s email address |
teléfono | Outputs the current member’s phone number |
registrationDate | Outputs the current member’s registration date. Optionally use the ‘dateFormat’ attribute to indicate how the date should be formatted. For more information, see the ‘dateFormat’ attribute below. |
statusChangedDate | Outputs the date of the last status change on the current member’s account. Optionally use the ‘dateFormat’ attribute to indicate how the date should be formatted. For more information, see the ‘dateFormat’ attribute below. |
fecha de expiración | Outputs the current member’s expiration date. Optionally use the ‘dateFormat’ attribute to indicate how the date should be formatted. For more information, see the ‘dateFormat’ attribute below. |
fechaCancelación | Outputs the current member’s cancellation date. Optionally use the ‘dateFormat’ attribute to indicate how the date should be formatted. For more information, see the ‘dateFormat’ attribute below. |
daysAsMember | Indica el número de días que el miembro actual ha sido miembro. |
membershipId | Outputs the ID of the current member’s membership level |
membershipName | Outputs the name of the current member’s membership level |
statusId | Outputs the ID of the current member’s status |
statusName | Outputs the name of the current member’s status |
daysWithBundle_# | Indica el número de días que el usuario actual ha tenido el paquete con ID # aplicado a su cuenta. If they don’t have the bundle applied to their account, -1 will be returned. For example, if the ID of the bundle is 4, you would use MM_Member_Data name=’daysWithBundle_4′ to retrieve the number of days it’s been applied to the member’s account. |
customField_# | Outputs the current member’s value for the custom field with ID #. For example, if the ID of the custom field that stores birthday is 4 then to output the current member’s birthday you would use MM_Member_Data name=’customField_4′. Este atributo no debe utilizarse con Producto adquirido notificaciones push cuando se recopila información de campos personalizados en el formulario de pago. |
dirección de facturación | Outputs the current member’s billing address |
billingAddress2 | Outputs the current member’s billing address, line 2 |
facturaciónCity | Outputs the current member’s billing city |
billingState | Outputs the current member’s billing state |
billingZipCode | Outputs the current member’s billing zip code |
facturaciónPaís | Outputs the current member’s billing country |
shippingAddress | Outputs the current member’s shipping address |
shippingAddress2 | Outputs the current member’s shipping address |
envíoCiudad | Outputs the current member’s shipping city |
shippingState | Outputs the current member’s shipping state |
shippingZipCode | Outputs the current member’s shipping zip code |
shippingCountry | Outputs the current member’s shipping country |
formato de fecha (opcional) - Por defecto, las fechas se mostrarán en el formato: Oct 14, 2023 12:14 pm. Si desea utilizar un formato de fecha personalizado, utilice este atributo para especificar en qué formato desea que aparezca la fecha. Utilice reglas de formato de fecha estándar de PHP al definir un formato personalizado.
Utilización
¡Hola [MM_Member_Data name='firstName']!
Aquí están tus credenciales de acceso:
Nombre de usuario: [MM_Member_Data name='username']
Contraseña: [MM_Member_Data name='contraseña']

