Technote

WordPress know-how, from real work Technotes worth picking

28 articles· Development workflow · Developers

Development workflow Advanced

Running WP-CLI in CI: what the checks actually look like

Checks that rely on somebody remembering get skipped in a busy week. Stack the cheap ones first, run the rest against a disposable WordPress, and the remembering stops…

Developers 8 min read

Development workflow Advanced

Finding out what is attached to a hook, in order

A callback that never runs, one that runs and gets overwritten, and a hook that never fires are three different problems. Reading the registry separates all three at…

Developers 8 min read

Development workflow Advanced

Adding your own hooks: extension points instead of edits

Code with no extension points gets forked or edited in place. Where you put do_action and apply_filters — and how many — decides how long that code survives.

Developers 7 min read

Development workflow Advanced

Adding your own WP-CLI command to a plugin

Registration is three lines and your docblock becomes the help text. What deserves thought is choosing between log, warning and error — because error stops the run.

Developers 7 min read

Development workflow Practical

Idempotent seeds: running twice must create nothing

A seed script never runs only once. Get the lookup wrong and the check passes, the insert runs, and WordPress quietly appends -2 to the slug.

Developers 9 min read

Cited

Technotes worth reading next

Topics outside WordPress are collected on Dongji Communication Tech Insights, run by the same team. The summaries below are quoted from the originals; the titles link to them.

See all tech insights

₩270,000 · Join the program