File "checkbox.php"
Full Path: /home/warrior1/public_html/wp-content/plugins/google-listings-and-ads/views/inputs/checkbox.php
File size: 424 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare( strict_types=1 );
defined( 'ABSPATH' ) || exit;
/**
* @var \Automattic\WooCommerce\GoogleListingsAndAds\View\PHPView $this
*/
/**
* @var array $input
*/
$input = $this->input;
$input['value'] = $input['value'] ?? false;
$input['value'] = wc_bool_to_string( $input['value'] );
$input['wrapper_class'] = sprintf( '%s %s', $input['wrapper_class'] ?? '', 'options' );
woocommerce_wp_checkbox( $input );