title: Wordpress get_option checked do something
body: <p>Hi I am wanting to test result of a checkbox in wordpress being true or false</p>
  
  <pre><code>  if(checked(1, get_option('demo-checkbox'), true)){?&gt;
        //do something...
    &lt;?php } ?&gt;
  </code></pre>
  
  <p>However on front end I am getting unexpected results and its outputting <code>checked='checked'</code> in the html page</p>