If function with multiple "answers"
-
Hi,
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 ??
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘If function with multiple "answers"’ is closed to new replies.