WordPress Support Officer Question:

When supposed to use endif to end the conditional statement?

Tweet Share WhatsApp

Answer:

When the original if was followed by : and then the code block without braces.

Read All 31 WordPress Support Officer Questions
Previous QuestionNext Question
Define ternary conditional operator in PHP?Will the comparison of string "10″ and integer 11 work in PHP?