Anatoliy Dovgun
-
WooCommerce Changed, Interview Answers Didn’t: The Checkout Field on 4wp.dev
WooCommerce changed. The classic answer still adds the field. The Checkout block never shows it. The case The client’s accountant: “Why is there no VAT number in the…
-
Lesson 1.2. PHP Versions, php.ini and Requires PHP
"Fatal error: syntax error, unexpected token" A plugin update goes out on Friday. It uses enum, which arrived in PHP 8.1. On most sites it works. On a…
-
Lesson 1.3. Debugging: WP_DEBUG, Logs and Xdebug
A white screen and a var_dump() on production The checkout page is blank. Someone adds var_dump( $order ); to the plugin on the live site to see what…
-
Lesson 1.1. From Request to wp-load.php
"I uploaded the fix. The site still shows the old code." You deploy a one-line fix to a plugin, refresh the page, and nothing changes. You upload it…
-
PHP for WordPress Developers
Modern PHP 8 for WordPress developers: types, closures and hooks, OOP, Composer, errors and plugin architecture, and where WordPress sets its own rules.
-
OOP for WordPress
Build plugin code on classes, interfaces and dependency injection instead of a Singleton in every file.
-
Interview Prep
Get ready for the middle PHP interview at a WordPress company: questions, live coding and code review.
-
Errors, Exceptions and WP_Error
Handle failures so the site keeps working and the log tells you why: exceptions and WP_Error, each in its place.
-
Namespaces, Autoloading and Composer
Use Composer and PSR-4 in a plugin without a vendor/ conflict that breaks another plugin on the same site.


