---
title: "Anatoliy Dovgun (@adogun) | Hashnode"
description: "WordPress, WordPress development, WordPress design. Read the latest articles by Anatoliy Dovgun on Hashnode."
url: "https://hashnode.com/@adogun"
---

@adogun

# Anatoliy Dovgun

@adogun · Joined July 2023

WordPress, WordPress development, WordPress design

### [MVC in WordPress: The Pattern Everyone Learns, Few Truly Apply](https://4wp.hashnode.dev/mvc-in-wordpress-the-pattern-everyone-learns-few-truly-apply?utm_source=hashnode&utm_medium=feed)

📌 Originally published on 4wp.dev → MVC Pattern in WordPress. Long read on LinkedIn: MVC in WordPress: the pattern everyone learns, few truly apply. Every WordPress developer has heard of MVC. Very

3 min read · [4wp.hashnode.dev](https://4wp.hashnode.dev/mvc-in-wordpress-the-pattern-everyone-learns-few-truly-apply?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/mvc-in-wordpress-the-pattern-everyone-learns-few-truly-apply/6acd4a01e96463d0b4332b5a)

### [You're a Tenant, Not the Owner: 6 Doors in Someone Else's wp-admin, and How Not to Be a Bad Neighbor](https://4wp.hashnode.dev/you-re-a-tenant-not-the-owner-6-doors-in-someone-else-s-wp-admin-and-how-not-to-be-a-bad-neighbor?utm_source=hashnode&utm_medium=feed)

Originally published on 4wp.dev. The Premise wp-admin isn't yours. The owner is WordPress core, and every active plugin is a tenant with its own key to a shared apartment. The six hooks in this catego

6 min read · [4wp.hashnode.dev](https://4wp.hashnode.dev/you-re-a-tenant-not-the-owner-6-doors-in-someone-else-s-wp-admin-and-how-not-to-be-a-bad-neighbor?utm_source=hashnode&utm_medium=feed)

[Oct 1](https://hashnode.com/posts/you-re-a-tenant-not-the-owner-6-doors-in-someone-else-s-wp-admin-and-how-not-to-be-a-bad-neighbor/6abe2667f89b4ea0a0b02bd8)

### [GraphQL for Headless WordPress in Practice (4wp.dev Hooks Series): From First Query to Production](https://4wp.hashnode.dev/graphql-for-headless-wordpress-in-practice-4wp-dev-hooks-series-from-first-query-to-production?utm_source=hashnode&utm_medium=feed)

Most WPGraphQL tutorials end at the first query. This one goes further: a small Next.js (App Router) blog on top of headless WordPress, taken all the way to a production-ready setup. We'll build a pag

5 min read · [4wp.hashnode.dev](https://4wp.hashnode.dev/graphql-for-headless-wordpress-in-practice-4wp-dev-hooks-series-from-first-query-to-production?utm_source=hashnode&utm_medium=feed)

[Sep 30](https://hashnode.com/posts/graphql-for-headless-wordpress-in-practice-4wp-dev-hooks-series-from-first-query-to-production/6abd18d7fb8d9b7e8e44696e)

### [Enqueue Hooks: Four Hooks, Four Different Zones — and How Not to Mix Them Up](https://4wp.hashnode.dev/enqueue-hooks-four-hooks-four-different-zones-and-how-not-to-mix-them-up?utm_source=hashnode&utm_medium=feed)

On the surface, these five hooks all do the same thing — load CSS/JS. But four of them sound almost identical while each one runs in a different zone of the site. Mix them up, and block styles leak on

4 min read · [4wp.hashnode.dev](https://4wp.hashnode.dev/enqueue-hooks-four-hooks-four-different-zones-and-how-not-to-mix-them-up?utm_source=hashnode&utm_medium=feed)

[Sep 24](https://hashnode.com/posts/enqueue-hooks-four-hooks-four-different-zones-and-how-not-to-mix-them-up/6ab4b7c51ed05a520e2c75cb)

### [A Hook That Fires Twice — and How Not to Trigger an Infinite Loop When Saving a Post](https://4wp.hashnode.dev/a-hook-that-fires-twice-and-how-not-to-trigger-an-infinite-loop-when-saving-a-post?utm_source=hashnode&utm_medium=feed)

The Problem A typical case: a developer hooks logic onto save\_post — update a counter, sync an external service, recalculate something based on the post's fields. The code runs... and immediately runs

6 min read · [4wp.hashnode.dev](https://4wp.hashnode.dev/a-hook-that-fires-twice-and-how-not-to-trigger-an-infinite-loop-when-saving-a-post?utm_source=hashnode&utm_medium=feed)

[Sep 22](https://hashnode.com/posts/a-hook-that-fires-twice-and-how-not-to-trigger-an-infinite-loop-when-saving-a-post/6ab2ebd909415cde7be9af70)
