title: How to sanitize checkboxes?
body: <p>I have googled this, and also searched for an answer here on Stackoverflow. But nothing has really been a clear answer on how to sanitize a checkbox value.</p>
  
  <p>I understand that if my input is:</p>
  
  <pre><code>&lt;input type="checkbox" value="submit_doors"&gt;
  </code></pre>
  
  <p>That someone can replace the value within their dev tools - and this information would be sent to the server.</p>
  
  <p>So how should I go about sanitizing checkbox/radio inputs? Should I be checking the value with (int), should I be sanitizing the value like I do with every other input/select field?</p>
  
  <p>For the record, I'm developing my site using WordPress, and to sanitize a text input for example I am doing this:</p>
  
  <pre><code>$turbo = trim( sanitize_text_field( wp_kses( $_POST['submit_induction_turbo'], $allowed_html ) ) );
  </code></pre>
  
  <p>Should I be running all these checks over checkboxes too? Or is this overkill?</p>