In this members-only tutorial, we shall register a custom function that returns the value of a user custom field created using the Advanced Custom Fields plugin which can then be used not only for displaying the currently logged-in user's custom field values but also for conditionally outputting any element using Oxygen's Dynamic Data condition depending on whether the field is empty or if it has a specific value etc.
Step 1
Let us first register a custom user field for users to have their Twitter handle.