This members-only tutorial provides the steps to define a custom function that returns data of the current logged in user like first name, last name, display name depending on the input parameter in Oxygen.
Once the function has been added, to show user's first name for example you could simply add a Text component in Oxygen, double click to select the text, click on Insert Data button in the top toolbar, click on PHP Function Return Value and
Here are the possible arguments:
: User email
: User first name
: User last name
: User display name
: User ID
How to add the Function
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: [Function] Current User Info
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $499 one-time).
Already a member? Log in below or here.