• Resolved theal3x

    (@theal3x)


    How to add option for the user id and save. Because when the user re-login the option is not saved.

    Thanks, and sorry for my bad english.

    <?php $tweak = $_POST['show_email'] ? $_POST['show_email'] : '';
    	update_option('show_email', esc_html($tweak));
    ?>
    <input type="checkbox" name="show_email" id="show_email" <?php checked('show_or_hide', get_option('show_email'));?> value='show_or_hide' />
  • The topic ‘Option for the user id’ is closed to new replies.