I self-hosted a comments and likes solution for my netlify-cms blog and I need to remove these likes and comments from my DB when a post gets removed.
I noticed there’s a callback for post unpublishing, and it seems this is the place where I should call my post removal endpoint.
Now, to the question: is this callback called only when an item/post is removed from the CMS? I don’t want this endpoint to be called on post editing or when the post editorial workflow changes, for example.