Files
piratepoet/doc/api_methods/AddList.md
Rostislav Wolny 75feb900bd Add doc page for addList method
[MAILPOET-2035]
2019-05-27 06:10:46 -04:00

585 B

back to list

Add Subscriber

array addList(array $list)

In MailPoet, subscribers are organized into lists. This method provides functionality for creating a new list.

It returns the new list. See Get Lists for a list data structure description.

Arguments

$list (required)

An associative array which contains list data.

Property Type Limits Description
name (required) string 90 chars A name of the list.
description (optional) string|null 250 chars A description of the list.