Allows customization of Messages on-the-fly.

package Swift
subpackage Plugins
author Chris Corbyn

 Methods

Return the array of replacements for $address.

getReplacementsFor(string $address) : array

This method is invoked once for every single recipient of a message.

If no replacements can be found, an empty value (NULL) should be returned and no replacements will then be made on the message.

Parameters

$address

string

Returns

array