wp_insert_post_data filter no longer saves custom meta on publish
-
I’ve had a function for a while where using Pods Framework I disable the Title field in custom posts so that in the edit screen users can add post titles via Pods meta using
wp_insert_post_data
(I do this to make form filling of custom post types more coherent and flexible).It used to be that publishing the post would update the post title right away but now if I check the list of posts in admin instead there is a (no title) placeholder.
Only by opening the post again and hitting update will the custom meta be applied and the intended title appears in the list of posts.
Is this something to do with Gutenberg and if so how do I now force posts to add custom meta to Post Title etc as soon as they are published?
- The topic ‘wp_insert_post_data filter no longer saves custom meta on publish’ is closed to new replies.