$fields_container_classes (optional) HTML classes used for the form element * @var Widget_Abstract $widget_obj An instance of the widget abstract. * @var array $fields An array of admin fields to display in the widget form. * * @version 4.12.18 */ use Tribe\Widget\Widget_Abstract; $default_classes = [ 'tribe-widget-fields' ]; $classes = array_merge( $default_classes, $this->get( 'fields_container_classes', [] ) ); ?>
> template( "widgets/components/fields/{$field['type']}", $field ); // Sets the current field for possible usage inside of the entry point. $this->set_values( [ 'field' => $field ] ); // Allow fields that were not registered as components to have something loaded. $this->do_entry_point( "field-{$field['type']}" ); } ?>