[user_property]
Displays current user selected property. If user is not logged, nothing is displayed.
Attributes
- property
- (required) Property to display.
- Default: None
- array_glue
- (optional) If resulting property is an array, it’s “glued” with PHP
implode()
function (http://php.net/manual/en/function.implode.php). You can set function’sglue
argument here.- Default:
,
- Default:
Examples
Example
[user_property property="roles" on_empty="You are not logged, please <a href='/wp-login.php'>login</a>." before="Your role(s): " after="." array_glue="; "]
Output
You are not logged, please login.
No comments yet.