Custom Trigger - WordPress?

Hi,

Is it possible to create a custom trigger?

E.g. I have a custom post type where I store information in meta. I’d like to create a trigger to watch for changes.

Also creating a trigger for other things such as commentmeta etc.

It doesn’t look like any hooks available for this. Any recommendations?

1 Like

Ideally, I’d like to create a trigger to index a custom post type after a comment has been added?