ProMailerSubscribers::removeUnconfirmed()

Remove subscribers that haven’t been confirmed for given number of days

Usage

// basic usage
$int = $proMailerSubscribers->removeUnconfirmed();

// usage with all arguments
$int = $proMailerSubscribers->removeUnconfirmed(int $days = 30);

Arguments

NameType(s)Description
$days (optional)int

Return value

int

Number that were removed

Exceptions

Method can throw exceptions on error:

  • WireException


ProMailerSubscribers methods and properties

API reference based on ProcessWire core version 3.0.251