Plugin Upgrade Routines: Changing Your Database Safely Between Versions
Activation hooks don't run when a plugin updates, which surprises many developers. Here's how to write upgrade routines that change…
Tag
Activation hooks don't run when a plugin updates, which surprises many developers. Here's how to write upgrade routines that change…
Almost every plugin needs a settings page, and many build theirs with hand-rolled forms that skip validation and security. The…
Posts and post meta can store almost anything, but they're not always the right tool. Here's when a custom table…
Automated tests catch bugs before your users do and let you change code with confidence. Here's how to set up…
Custom WP-CLI commands turn repetitive admin tasks, data migrations and maintenance jobs into reliable, scriptable tools. Here's how to write…
A plugin can be ten lines or ten thousand, but good ones share the same foundations. Here's how to structure,…
Hooks are how WordPress lets you change almost anything without editing core files. Here's a clear explanation of actions and…