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.
-
How to Enjoy Programming in the LLM Era
Why coding feels less fun since AI assistants arrived, what METR's productivity trial and Stack Overflow's trust data actually show, and the personal habits and team practices that keep comprehension of your own system yours.