Cannot save Checkbox meta box value from a Custom Post Type
In my opinion the problem is the way you operate the checkbox. As the checkbox value, you set the value read from the database, which is sometimes an empty string. When you send an unchecked checkbox, there is no $_POST[‘chkClientShow’] key and an empty string is saved to the database. Then the empty string is … Read more