Skip to main content

Text

Submitted by admin on

Text field.

The return value of this field in the template() function is:

$settings->element->heading_text->text
$form['my_field_id'] = [
   'type'      => 'text',
   'tab'     => 'section_content',
   'title'     => ('Headline'),
   'update_selector' => '.widget-content span' 
];