Support › General › Checkbox Checked by Default
Currently want to have a checkbox checked by default but it doesn't seem to be working:
'name' => 'New Property?',
'id' => self::$prefix . 'new_property',
'type' => 'checkbox',
'std' => 1,
Does it work with new posts?
The mechanism of std in Meta Box works only if the meta box has not been saved before. Here 'meta box' means all fields. So if there's any field that already has value, then std won't work for other fields, even new fields you've just added.
Thanks Anh, that would be it!
Shows on a new property so all fine, thanks.