ProMailerSubscribers::count()

Return total count of subscribers for given list

Usage

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

// usage with all arguments
$int = $proMailerSubscribers->count(array $options = []);

Arguments

NameType(s)Description
$options (optional)array
  • list (ProMailerList|int): List to count from
  • confirmed (bool): Include only confirmed subscribers? Default:false
  • email (string): String to match in email Default:''
  • custom (string): String to match in custom data Default:''
  • partial (bool): Perform partial match for strings? Default:true
  • id (int): Count only subscribers greater than or equal to this subscriber ID Default:0

Return value

int


ProMailerSubscribers methods and properties

API reference based on ProcessWire core version 3.0.251