type = 'kirki-switch'; } /** * Sets the control choices. * * @access protected */ protected function set_choices() { if ( ! is_array( $this->choices ) ) { $this->choices = array(); } $l10n = Kirki_l10n::get_strings( $this->kirki_config ); if ( ! isset( $this->choices['on'] ) ) { $this->choices['on'] = $l10n['on']; } if ( ! isset( $this->choices['off'] ) ) { $this->choices['off'] = $l10n['off']; } if ( ! isset( $this->choices['round'] ) ) { $this->choices['round'] = false; } } } }