Default Value of unchecked checkbox

Support General Default Value of unchecked checkbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43354
    shmaltzshmaltz
    Participant

    Hi, is there a way to set the default value of an unchecked checkbox to "0" when post is created? currently no post meta is created.

    #43356
    shmaltzshmaltz
    Participant

    I think it has to do with the fact that I'm using a custom frontend form.

    I figured that since it uses wp_insert_post() it would work.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.