I've built an event list plugin that also adds, updates and deletes events in Google Calendar. That interaction occurs using several action hooks, including 'publish_post', 'publish_to_draft', 'draft_to_publish', publish_to_trash', 'trash_to_publish' and so on. And everything works in nearly all scenarios, the exception being Quick Edit changes.
I've tried the afore mentioned hooks as well as 'save_post' and 'update_post', all of which I'm told should trigger when using Quick Edit. Here's my test code:
function mytestfunc() {
global $post;
echo $post->ID;
$key = 'test';
$data = 'this is a test';
update_post_meta( $post->ID, $key, $data );
}
add_action( 'save_post', 'mytestfunc' );
What am I missing here? There must be some way to trigger hooks from Quick Edit mode. Is it a Javascript thing? Any and all help appreciated!