[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”.