Noptin_WooCommerce::save_woocommerce_checkout_checkbox_value( WC_Order $order )

Did the user check the email subscription checkbox?


Parameters Parameters

$order

(WC_Order) (Required)


Top ↑

Source Source

File: includes/integrations/class-noptin-woocommerce.php

	public function save_woocommerce_checkout_checkbox_value( $order ) {
		if ( $this->checkbox_was_checked() ) {
			$order->update_meta_data( 'noptin_opted_in', 1 );
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation