Noptin_EDD::save_edd_checkout_checkbox_value( array $payment_meta )

Did the user check the email subscription checkbox?

Parameters Parameters


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

Top ↑

Return Return


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


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