FieldtypeComments::getNotifyEmails()

Get emails (and other data) of people that should be notified for a given Page’s comments

Available since version 3.0.169.

Usage

// basic usage
$array = $fieldtypeComments->getNotifyEmails(Page $page, Field $field);

// usage with all arguments
$array = $fieldtypeComments->getNotifyEmails(Page $page, Field $field, $comment = null);

Arguments

NameType(s)Description
$pagePage
$fieldField
$comment (optional)Comment null

Return value

array

Exceptions

Method can throw exceptions on error:

  • WireException


FieldtypeComments methods and properties

API reference based on ProcessWire core version 3.0.252