When I announced to my friends in Tech that I was joining a WordPress company, many told me I was giving up on quality, developer experience, and state-of-the-art practices. Somehow, the WordPress ecosystem is often viewed as non qualitative and without best practices, yet it is said to be used on 45% of websites, so it is hard to ignore for PHP and Web developers.
While it is true some are open source, the community is now well-equipped to build qualitative codebases. Let’s dive together into some best practices you can start applying immediately to take your WordPress development workflows to the next level:
– static code analysis with PHPCS & PHPStan for WordPress,
– built-in tests with PHP Unit for WordPress,
– Usual pitfalls for WordPress plugins/themes and open-source ready-to-use solutions against them,
– Plugin development framework.
Tested & approved by WP Media developers, supporting well-known WordPress plugins like WP Rocket & Imagify!