Noptin_Abstract_Integration::triggered( int $object_id = null )

Was integration triggered?


Description Description

Will always return true when integration is set to auto_subscribe. Otherwise, will check value of checkbox.


Top ↑

Parameters Parameters

$object_id

(int) (Optional) Useful when overriding method. (optional)

Default value: null


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: includes/integrations/class-noptin-abstract-integration.php

	public function triggered( $object_id = null ) {
		return $this->auto_subscribe() || $this->checkbox_was_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