If I edit a post, it’ll trigger ‘edit_post’. If I edit a page, it’ll trigger ‘edit_page’. But if I edit a custom post type, what it triggers? Neither of those, it seems, as I’ve been experimenting with my Relevanssi plugin and editing a custom type post didn’t do anything it should’ve done.
So, is there a hook I could add an action to that triggers when something in a custom post type is edited?
- The topic ‘Editing custom post type triggers which hook?’ is closed to new replies.