Why can’t I hook into save_posts after admin_init?

Adding function to hooks is runtime operation, it is not persistent. Whatever hook operation you run in Ajax actions – they are performed in separate WP instance and expire as soon as Ajax response is returned. They have no influence on currently loaded page.

You probably need to hook your functionality to save_post as usual (not in Ajax action) and check for your additional metabox to handle it.

Leave a Comment