Checkbox::html_order()
Description #
Order of HTML markup.
Source #
File: lib/form/class-checkbox.php
protected function html_order() {
parent::html_order();
if ( ! $this->get( 'options' ) ) {
$this->output_order = array( 'wrapper_start', 'label', 'field_wrap_start', 'errors', 'field_markup', 'field_wrap_end', 'wrapper_end' );
}
}
Expand full source code Collapse full source code View on GitHub: lib/form/class-checkbox.php:62
Add your comment