Get the confirmation code for given subscriber array or Page
Usage
// basic usage
$string = $proMailerSubscribers->getCode($subscriber);
// usage with all arguments
$string = $proMailerSubscribers->getCode($subscriber, bool $create = false);
Arguments
Name | Type(s) | Description |
---|---|---|
subscriber | ProMailerSubscriber, Page | |
create (optional) | bool | Create and populate code if it doesn’t already exist? (default=false) |
Return value
string
ProMailerSubscribers methods and properties
API reference based on ProcessWire core version 3.0.236