12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Apr 26, 2019

How to show User Display Name in Oxygen

Sridhar Katakam

In Oxygen's Facebook group, a user asks:

How can I insert dynamic data content that's not listed in the Insert Dynamic Data dialog?
For example, I like to insert the User Display Name content..
#oxygenbuilder #dynamicdata

We can create a small custom function that returns the currently logged in user's display name and show it on the front end using the Oxygen's PHP Function Return value feature.

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Return current user's display name

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right