In this series, we’re taking a look at the WordPress PHP Coding Standards in order further understand how quality WordPress code should be written.
Sure, all of this is documented in the WordPress Coding Standards and it’s a site that every WordPress developer should have bookmarked and on hand when working on a theme, a plugin, or an application; however, if you’re just getting into WordPress development, then it’s important to understand the rationale as to why the conventions are the way they are.
In this article, we’re going to be taking a look at the use of single quotes and double quotes specifically when dealing with strings.
This may be the shortest, most straightforward article in the series, but it should cover some important nuances as it relates to working with single quotes, double quotes, and strings in WordPress..Continue reading