42. WP Coding Standards
• Single vs. Double Quotes
• Indenting and Formatting Code
• Brace Style & Spacing
• Semantic Coding
• Readability vs. Easy of Use
• General Best Practices
43. WP Coding Standards
• Single quotes are used when no variables
are present in the string;
• Double quotes process the contents;
44. WP Coding Standards
• Single quotes are used when no variables
are present in the string;
$x = ‘Hello’.$name;
• Double quotes process the contents;
$x = “Hello $name”;