Noptin_EDD::save_edd_checkout_checkbox_value( array $payment_meta )

Did the user check the email subscription checkbox?


Parameters Parameters

$payment_meta

(array) (Required) An array of payment meta.


Top ↑

Return Return

(array)


Top ↑

Source Source

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

	public function save_edd_checkout_checkbox_value( $payment_meta ) {

		if ( $this->checkbox_was_checked() ) {
			$payment_meta['_noptin_optin'] = 1;
		}

		return $payment_meta;
	}

Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.6Introduced.

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