ProMailerSubscriber::custom()

Get or set custom field values

Usage

// basic usage
$bool = $proMailerSubscriber->custom();

// usage with all arguments
$bool = $proMailerSubscriber->custom(string $name = '', $value = null, bool $saveNow = false);

Arguments

NameType(s)Description
$name (optional)string

Name of custom field to get or set, or omit to get all

$value (optional)null mixed

When setting only, value of field to set

$saveNow (optional)bool

When setting only, save the changes now? Default:false

Return value

bool int mixed null string


ProMailerSubscriber methods and properties

API reference based on ProcessWire core version 3.0.255