did_noptin_subscriber_open_campaign( int $subscriber_id, int $campaign_id )

Checks whether a subscriber opened a given campaign


Parameters Parameters

$subscriber_id

(int) (Required) Subscriber ID.

$campaign_id

(int) (Required) The campaign to check for.


Top ↑

Source Source

File: includes/subscriber.php

function did_noptin_subscriber_open_campaign( $subscriber_id, $campaign_id ) {

	$opened_campaigns = get_noptin_subscriber_opened_campaigns( $subscriber_id );
	return in_array( (int) $campaign_id, $opened_campaigns, true );

}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.0Introduced.

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