[memb_wp_user]

Summary

This shortcode displays the content of a WordPress user or user meta field.

Shortcode Examples

[memb_wp_user fieldname="display_name"]
[memb_wp_user fieldname="id"]
[memb_wp_user fieldname="user_email"]
[memb_wp_user fieldname="user_firstname"]
[memb_wp_user fieldname="user_lastname"]
[memb_wp_user fieldname="user_login"]

Shortcode Parameters

capture: A comma separated list of destinations to send the output of the shortcode to. (?)
txtfmt: A comma delimited list of text processing functions that will be applied on the output. (?)
fieldname: Captures the output of the shortcode into the fieldname.  A few examples are listed below:
display_name: Shows the logged in user’s display name.
id: Shows the logged in user’s ID number.
user_email: Shows the logged in user’s email address.
user_firstname: Displays the logged in user’s first name.
user_lastname: Displays the logged in user’s last name.
user_login: Displays the logged in user’s login name.

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Capturable: Yes (?)
Accepts Formatting: Yes (?)

Additional Information

If you use this shortcode with no parameters it displays the message “invalid fieldname”.

ActiveCampaign Shortcode Documentation

Looking for info on the ActiveCampaign version of this shortcode?

Click Here to View the ActiveCampaign Shortcode Documentation

Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona

Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $100 OFF your ticket until the end of this Monday, September 24th!

Click Here to Learn More and Reserve Your Seat