WordPress Development Question:

When are you supposed to use endif to end conditional statement?

Tweet Share WhatsApp

Answer:

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

Download WordPress Expert PDF Read All 31 WordPress Expert Questions
Previous QuestionNext Question
Define a constant?Tell me what does a special set of tags <?= and ?> do in PHP?