Function __global->newsletter_who_send_to
Definitions
sources/newsletter.php
- Find a group of people the newsletter will go to.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$send_details | ?array | Null | N/A | N/A | A map describing what newsletters the newsletter is being sent to (if $spreadsheet_data is not empty we will always process that regardless) (null: no limitation) |
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | Language subscribers should be using (if we're running a multi-language site) (null: no filter) |
$start | integer | 0 | N/A | N/A | Start position in result set (results are returned in parallel for each category of result) |
$max | integer | 0 | N/A | N/A | Maximum records to return from each category |
$spreadsheet_data | array | [] | N/A | N/A | Spreadsheet data to also consider |
$filter_confirms | boolean | True | N/A | N/A | Filter non-confirmed addresses out |
Return
- A pair: List of subscriber detail maps, and a map of newsletter identifier to record count (null if $start is not zero, for performance reasons]
- Type: array
- Set: N/A
- Range: N/A