Noptin_EDD::triggered( int $payment_id = null )

Was integration triggered?


Parameters Parameters

$payment_id

(int) (Optional) Payment being executed.

Default value: null


Top ↑

Return Return

(bool)


Top ↑

Source Source

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

	public function triggered( $payment_id = null ) {
		$meta    = edd_get_payment_meta( $payment_id );
		$checked = is_array( $meta ) && isset( $meta['_noptin_optin'] ) && $meta['_noptin_optin'];
		return $this->auto_subscribe() || $checked;
	}

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