WordPress Support Officer Question:
When supposed to use endif to end the conditional statement?
Answer:
When the original if was followed by : and then the code block without braces.
Previous Question | Next Question |
Define ternary conditional operator in PHP? | Will the comparison of string "10″ and integer 11 work in PHP? |