Skip to content
Snippets Groups Projects
Unverified Commit 3b6e16ac authored by Andrew West's avatar Andrew West Committed by GitHub
Browse files

Explain when mailingID and messageTemplateID are passed through

parent b33a68ee
No related branches found
No related tags found
1 merge request!703Explain when mailingID and messageTemplateID are passed through
...@@ -15,7 +15,13 @@ tokenizing it. ...@@ -15,7 +15,13 @@ tokenizing it.
## Details ## Details
- $content - fields include: html, text, subject, groupName, valueName, messageTemplateID $content - fields include: html, text, subject, groupName, valueName, messageTemplateID, mailingID
Note that this hook is fired when:
- creating mailings through the traditional BAO mailer (standard CiviMail)
- creating mailings through FlexMailer (used by Mosaico)
- sending emails using message templates, in CRM_Core_BAO_MessageTemplate
In the latter case there is inherently no mailingID, so this will not be supplied. Similarly in the 2 former cases the messageTemplateID is not supplied.
## Example ## Example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment