Add a new list with given title and return the ID for it
Usage
// basic usage
$int = $proMailerLists->add(string $title);
// usage with all arguments
$int = $proMailerLists->add(string $title, string $type = '');
Arguments
Name | Type(s) | Description |
---|---|---|
title | string | |
type (optional) | string | List type, use ProMailer::listTypeRegular for regular or ProMailer::listTypePages for Users/Pages |
Return value
int
ProMailerLists methods and properties
API reference based on ProcessWire core version 3.0.236