• I have heard that PHP colon syntax is common in WordPress but not really anywhere else.

    Is this true and if so, why is this the case, or why did developers choose this approach?

    Reference: ?

Viewing 1 replies (of 1 total)
  • I have played in the WordPress core code (but I must say not all of it) and did not see this approach in the core for the last versions released. The post is you are referencing is more than 1 year old. It may have been the case in the past… I don’t know.

    It is a different simply approach. Personnally, I think it has advantages when templating with HTML as you do not have to open and close brackets.

Viewing 1 replies (of 1 total)
  • The topic ‘Why is colon syntax common to WordPress?’ is closed to new replies.