How can I hook into existing WordPress Bulk actions?
As you describe, you want to sync data when a post is trashed, edited or untrashed. You are trying with save_post action, but it fires only on post edit screens (according with codex, this action fires on import, post/page edit form, xmlrpc, or post by email), so you think you need to hook also on … Read more