Hi all,
Really a basic question, I’m creating a shortcode and within it I’d like to check if a certain param exists on the shortcode and if it equals a certain value. What would be the best possible way of doing that? Of course I could use two if statements but it feels bloated somehow. Is there a shorter method?
I should also say that the param is optional so its not always available…