mainSetting->getValue(); $classes = array_merge(['ame-select-box-control'], $this->classes); list($optionHtml, $optionBindings) = ChoiceControlOption::generateSelectOptions( $this->options, $currentValue, $this->mainSetting ); //phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped echo $this->buildInputElement( [ 'class' => $classes, 'style' => $this->styles, 'data-bind' => $this->makeKoDataBind(array_merge( $optionBindings, ['value' => $this->getKoObservableExpression($currentValue)] )), ], 'select' ); echo $optionHtml; //phpcs:enable echo ''; } }