WPDKHTMLTagSelect::options PHP Method

options() public method

Return the HTML markup for the option and optgroup tag.
public options ( array $options ) : string
$options array A key value pairs array. If the value is an array then an optio group is created.
return string
    public function options($options)
    {
        ob_start();
        $this->_options($options);
        $content = ob_get_contents();
        ob_end_clean();
        return $content;
    }