Add support for specifying Listmonk list UUIDs per form instance Update petition form to use metadata-defined UUIDs Add success confirmation message to newsletter forms Update documentation with new functionality
16 lines
428 B
PHP
16 lines
428 B
PHP
<?php
|
|
/**
|
|
* Listmonk Newsletter Configuration
|
|
*
|
|
* Uses Listmonk's public subscription API (no authentication required).
|
|
* Listmonk handles double opt-in confirmation emails.
|
|
*/
|
|
|
|
return [
|
|
'enabled' => true,
|
|
'url' => 'https://newsletter.example.com', // Your Listmonk URL (no trailing slash)
|
|
'list_uuids' => [ // Default lists (used when no per-form UUIDs are specified)
|
|
'UUID1',
|
|
'UUID2'
|
|
]
|
|
];
|