We have a sidebar custom plugin, where we return different user profile data based on the user type.
One of these fields returns one of 6 drop down options. However, what I want to do is only one of 5 of the options if selected, and not display the 6th if present. I still need the 6th option but just don’t want to show it in the sidebar.
Here is the line of code in the plugin to display this data: