When does save_post hook fire on post save/update
save_post is fired at the end of wp_insert_post() which is the core function that’s run whenever a post is inserted or updated (wp_update_post() calls it internally). This includes when the post is updated via the classic editor and the block editor (Gutenberg), as well whenever it’s updated via the REST API. The only reason it … Read more