Field::common_attr()
Description #
Output common attributes of a field.
Source #
File: lib/form/class-field.php
protected function common_attr() { return ' name="' . esc_attr( $this->field_name ) . '" id="' . $this->id() . '" class="ap-form-control ' . esc_attr( $this->get( 'class', '' ) ) . '"'; }
Expand full source code Collapse full source code View on GitHub: lib/form/class-field.php:525
Add your comment