Custom PHP conditions allows you to use PHP to create unique conditions that may not be included in Oxygen’s default Conditions. This guide discusses how to use a custom PHP condition to hide content in Oxygen.
When writing custom PHP, you will generally want the code or function to return true for when you want content to show, and false for when you want it to be hidden.
While the Oxygen Support team cannot help create custom conditions, here are some condition examples that may be useful:
After applying the condition, visit the page on the front end to see the conditions in action and verify that they are working correctly.