[wp-hackers] Ability to compare arrays in checked() function

scribu scribu at gmail.com
Thu Aug 6 13:00:54 UTC 2009

I didn't know there was a checked() function, but like you, I wanted to be
able to write forms more easily, so I made my own class: scbForms.

It handles all types of input, textareas and selects.

This is a sample of how a checkbox would be generated (checked, in this

$options = array('foo'  => 'bar');

  'type' => 'checkbox',
  'name' => 'foo',
  'value' => 'bar'
), $options);


More information about the wp-hackers mailing list