PluginProbe ʕ •ᴥ•ʔ
Hostinger Reach – AI-Powered Email Marketing for WordPress / 1.6.0
Hostinger Reach – AI-Powered Email Marketing for WordPress v1.6.0
1.6.0 1.5.9 1.5.8 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 trunk 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6
hostinger-reach / templates / optin-checkbox.php
hostinger-reach / templates Last commit date
optin-checkbox.php 8 months ago
optin-checkbox.php
31 lines
1 <?php
2
3 /**
4 * Override this template by copying it to yourtheme/hostinger-reach/optin-checkbox.php
5 */
6
7 namespace Hostinger\Reach;
8
9 use Hostinger\Reach\Integrations\WooCommerce\WooCommerceIntegration;
10
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14
15 /**
16 * @var $is_opted_in bool Indicates if the user is opted in.
17 */
18
19 if ( ! isset( $is_opted_in ) ) {
20 $is_opted_in = false;
21 }
22
23 ?>
24
25 <p class="hostinger-reach-optin form-row">
26 <label for="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox">
27 <input class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" type="checkbox" name="hostinger_reach_optin" id="hostinger_reach_optin" <?php checked( isset( $_POST[ WooCommerceIntegration::OPTIN_KEY ] ) || $is_opted_in, true ); ?> />
28 <span class="hostinger-reach-optin__checkbox-text"><?php _e( 'Subscribe to our Newsletter', 'hostinger-reach' ); ?></span>
29 </label>
30 </p>
31