/var/www/html_uk/wp-content/plugins/automatewoo/templates/optin-checkbox.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
// phpcs:ignoreFile
/**
 * Override this template by copying it to yourtheme/automatewoo/optin-checkbox.php
 */

namespace AutomateWoo;

if ( ! 
defined'ABSPATH' ) ) exit;

?>

<p class="automatewoo-optin form-row">
    <label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
        <input type="checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" name="automatewoo_optin" <?php checked( isset( $_POST['automatewoo_optin'] ), true ); ?> id="automatewoo_optin" />
        <span class="automatewoo-optin__checkbox-text"><?php echo Options::optin_checkbox_text() ?></span>
    </label>
</p>