Anatoliy Dovgun
-
Plugin Architecture Patterns
Turn a 2,000-line functions.php into a structure you can test: MVC, layers, a container, repositories and DTOs.
-
OOP for WordPress
Build plugin code on classes, interfaces and dependency injection instead of a Singleton in every file.
-
Modern PHP Syntax
Write PHP 8 with types, match, enum and readonly, and know which features are safe for a WordPress.org plugin.
-
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.
-
PHP Runtime in WordPress
Find out why the same plugin works on one host and white-screens on another: the path from request to wp-load.php.
-
PluginPrePublishPanel: Warn or Block Before Publishing?
AI writes the code. You make the right choice for the user. 🧩 PluginPrePublishPanel adds your checklist to the “Are you ready to publish?” screen in the WordPress…
-
Git Basics, Chapter 3: Branches & conflicts (Free Git Course on 4wp.dev)
Two branches changed the same line. Who wins? Chapter 3: Branches & conflicts. Several tasks in parallel, and conflicts become routine. You experiment in a branch without breaking…
-
Lesson 1.3. Setup and Your First Repository
Who is admin@MacBook-Pro.local? That's roughly what a commit author can look like before Git is configured. GitHub won't be able to link such a commit to your profile,…
-
Lesson 2.3. .gitignore
Your database password on GitHub One git add . — and .env with your database password and API keys is in a public repository. Bots scan GitHub for…





