packages/kirki-framework/control-checkbox/src/Field/Checkbox_Switch.php
protected function set_choices() {
		if ( ! is_array( $this->choices ) ) {
			$this->choices = [];
		}

		$this->choices = wp_parse_args(
			$this->choices,
			[
				'on'    => esc_html__( 'On', 'kirki' ),
				'off'   => esc_html__( 'Off', 'kirki' ),
				'round' => false,
			]
		);
	}
protected function set_choices() {
		if ( ! is_array( $this->choices ) ) {
			$this->choices = [];
		}

		$this->choices = wp_parse_args(
			$this->choices,
			[
				'on'    => esc_html__( 'On', 'kirki' ),
				'off'   => esc_html__( 'Off', 'kirki' ),
				'round' => false,
			]
		);
	}
protected function set_choices ( ) { if ( ! is_array ( $ this -> choices ) ) { $ this -> choices = [ ] ; } $ this -> choices = wp_parse_args ( $ this -> choices , [ 'on' => esc_html__ ( 'On' , 'kirki' ) , 'off' => esc_html__ ( 'Off' , 'kirki' ) , 'round' => false , ] ) ; }
Sets the control choices.

@access protected
Sets the control choices .