Technote

WordPress guides for Developers

For developers who work on WordPress as code: hooks and filters, WP-CLI, Git workflow and deployment automation.

25 articles· Developers

Development workflow Practical

Adding an SCSS build, and whether to commit the output

WordPress themes are expected to deploy without a build step, which leads to the opposite conclusion from ordinary application code — and to its own costs.

Developers 7 min read

Development workflow Practical

Running scripts with eval-file, and the argument trap

It runs your own PHP file inside a fully loaded WordPress. Flags starting with -- never reach your script, though, because WP-CLI consumes them first.

Developers 7 min read

Performance optimization Practical

The object cache: what Redis actually removes

Repeated identical lookups disappear. One slow query does not. Miss that distinction and you will wire up Redis and then ask why nothing got faster.

Developers 7 min read

Development workflow Practical

Your own endpoint: namespace, permission callback, schema

permission_callback is not optional. Omit it and the route is public, with a core warning to match. An args schema then keeps validation out of your handler entirely.

Developers 8 min read

Performance optimization Practical

The N+1 problem: get_post_meta in a loop, and priming

WP_Query primes caches for its own results only. A hand-built list of IDs gets none of that for free — and that difference decides your query count.

Developers 7 min read

Development workflow Practical

Safe search-replace: serialisation, guid and dry runs

Replace a domain with raw SQL and widget and theme settings quietly go blank. Serialised data stores string lengths — and switching tools removes the problem entirely.

Developers 9 min read

Development workflow Practical

Priority wars: whoever speaks last wins

Priority is a queue position, not authority. Raising your number is a move the other side can also make, and jumping behind a translation filter sends the untranslated…

Developers 7 min read

₩270,000 · Join the program