Updated post format not available from within save_post callback using Bulk Edit
-
It seems that bulk_edit_posts calls the wp_insert_post (in turn calling any save_post callback before the Post Format is updated. Is this really by design or is it a bug? It seems this makes it impossible to utilize get_post_format from within a save_post callback because it won’t work when using Bulk Edit as it will return the old post format. Maybe my logic is wrong?
Edit: Adding reference. bulk_edit_posts. See lines 559 and 568/569
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Updated post format not available from within save_post callback using Bulk Edit’ is closed to new replies.