set and unset the custom field value
I realize this is almost 2 years too late, but I hope it’s still useful to some people that land here looking for an answer. Disclaimer: this is not a great pattern according to WordPress admin design patterns, but it’s actually nice to use in a pinch. Insert the following into your functions.php file in … Read more