• I am new to WP Plugin Development..
    I have added a chekbox to plugin options page.
    <input type='checkbox' name='options[postlink]' value='1' <?php if ( 1 == $options['postlink'] ) echo 'checked="checked"'; ?> />

    How can i store the checkbox option checked state to my database?

    Also,How can i add a functionality like if the option is checked then do this, else do this..

    Thanks

  • The topic ‘How to Checkbox to WordPress Plugin Options Page?’ is closed to new replies.