-
F
-
F
# Username for the current User.
# Email Address for the current User.
# First Name for the current User.
# Last Name for the current User.
# First and Last Name for the current User.
# Display Name for the current User.
# Avatar <img> tag.
Practical Shortcode Equivalents Using
# Custom String value for the current User.
# Paid Subscr. ID for the current User.
# Paid Subscr. ID, else WordPress® User ID.
# Paid Subscr. Gateway Code for the current User.
# IP Address the current User had during registration.
# Auto EOT-Time for the current User (when applicable). Use date_format=\"\" with any PHP date formatting chars you like. If you don\'t pass this, a timestamp is given instead. See: http://php.net/manual/en/function.date.php
# Timestamp. Last time an actual payment was received by s2Member. Use date_format=\"\" with any PHP date formatting chars you like. If you don\'t pass this, a timestamp is given instead. See: http://php.net/manual/en/function.date.php
# A WordPress® Role ID (i.e. s2member_level[0-9]+, administrator, editor, author, contributor, subscriber).
# An s2Member Membership Access Level number.
# An s2Member Membership Access Label (i.e. Bronze, Gold, Silver, Platinum, or whatever is configured).
# Number of times the User has logged into your site.
Example
Shortcode
The easiest way to use the s2MOP Shortcode
This goes at the top of your Membership Options Page, using the WordPress editor.
NOTE: the message you define is only displayed on your Membership Options Page if s2Member’s MOP Vars are present; i.e., when a visitor is redirected to your Membership Options Page after they attempted to access content they were not allowed to see.
A Few More
Examples
in
Shortcode Documentation