Engineering
Trigger and Shoot – Slim WordPress plugin
Trigger and Shoot: a slim, lightweight WordPress plugin for triggering actions on post events.
1 min read
Whenever a WordPress post is created, I wanted to send that information to a separate service running on a different server. I tried several approaches and landed on this simple solution. Try it out and play around with it, and if you run into any issues, please let me know.
Related reading
-
WordPress: How to trigger the Post publish event
How to hook into and trigger the WordPress post-publish event for custom automation.
-
A Better Way to Show WordPress Database Errors
A cleaner approach to displaying WordPress database errors for easier debugging during development.
-
The Model Won't Ask You Back
Why a thin question becomes a confident wrong answer, which parts of the prompting folklore are already stale, and why it is a writing skill.