MF2 devours meta_id counter… why not to update meta instead of delete/add it?
-
Hello!
First of all, MF2 is very usefull plugin, thank you for your jub guys!
So, the point of problem:
While developing functionality for my project I had to hook the update_post_meta and add_post_meta to perform some actions… and I was very surprised to find that MF2-driven post meta never updated! They always removed/added when I save my post, and they always increment meta_id every time I updated the post.
Furthermore, hooks are called twice every time I updated post.In other hand, when I use native WP meta fields – they called the update hook, where meta_id wasnt incremented, just valued updated.
So the question: why do you devour meta_id? Why dont you use update_meta functionality?
- The topic ‘MF2 devours meta_id counter… why not to update meta instead of delete/add it?’ is closed to new replies.