Form::generate_fields()
Description #
Generate fields HTML markup.
Source #
File: lib/class-form.php
public function generate_fields() { $html = ''; if ( false === $this->prepared ) { $this->prepare(); } if ( ! empty( $this->fields ) ) { foreach ( (array) $this->fields as $field ) { $html .= $field->output(); } } return $html; }
Expand full source code Collapse full source code View on GitHub: lib/class-form.php:168
Add your comment