Sorry about the title, I didn’t know how to ask this more clearly/concisely. (I also tried to search for the answer but came up with nothing because I didn’t quite know what I’m looking for…)
I want to add several possible “answers” into an if-statement.
For example: if(in_category(‘birds’ OR ‘mammoths’)):
Is it even possible to add multiple possibilities? I know I can add multiple elseif-statements and get the same result, but I’d like to keep the code shorter…
Help is much appreciated 🙂
- The topic ‘If function with multiple "answers"’ is closed to new replies.