PHP namespaces are almost ten years old.
Despite a decade passing by since PHP v5.3 was released many developers still don’t have a basic understanding of namespaces.
Truth be told WordPress doesn’t use namespaces so “you don’t need to know how to use namespaces if you only work with WordPress.” You don’t need to be a namespace ninja but getting a grasp on the basics is simple and does you good.
That’s why WordPress and a lot of other big codebases don’t use native namespaces.
It provides a way to import code from other PHP namespaces into the current namespace or to refer to an external (fully qualified) name with an alias.
This package aims to provide rudimentary protection against installing known…
Each year we release our in-depth performance benchmarks across various…
By the end of the course, you’ll know what a WP_Query is, and how and why to…
Sign up for our newsletter to stay updated.
Curated WordPress Resources
Leave a Reply