src/properties/class-papi-property-bool.php
public function html() {
		$value = $this->get_value();

		papi_render_html_tag( 'input', [
			'type'  => 'hidden',
			'name'  => esc_attr( $this->html_name() ),
			'value' => false
		] );

		papi_render_html_tag( 'input', [
			'checked' => ! empty( $value ),
			'id'      => esc_attr( $this->html_id() ),
			'name'    => esc_attr( $this->html_name() ),
			'type'    => 'checkbox'
		] );
	}
public function html() {
		$value = $this->get_value();

		papi_render_html_tag( 'input', [
			'type'  => 'hidden',
			'name'  => esc_attr( $this->html_name() ),
			'value' => false
		] );

		papi_render_html_tag( 'input', [
			'checked' => ! empty( $value ),
			'id'      => esc_attr( $this->html_id() ),
			'name'    => esc_attr( $this->html_name() ),
			'type'    => 'checkbox'
		] );
	}
Render property html.