Delete All Post Meta Except Thumbnail In WordPress Posts
Delete All Post Meta Except Thumbnail In WordPress Posts.Removing all post metas to all posts is not like an ordinary querying functions. so be-careful and think before you start doing that , it may delete your any other important post meta. Let’s see the function which helps do it. Lets hook an init action with our function. add_action('init','kv_delete_all_meta_except_featuredimg'); and lets write the function and query ...