From 3f84485280628b903e45418d7135f8f41f4552c4 Mon Sep 17 00:00:00 2001
From: Seamus Lee <seamuslee001@gmail.com>
Date: Fri, 23 Aug 2019 10:54:02 +1000
Subject: [PATCH] Update Hooks Pre and Post documentation indicating Domain is
 now avaliable

---
 docs/hooks/hook_civicrm_post.md | 1 +
 docs/hooks/hook_civicrm_pre.md  | 1 +
 docs/hooks/list.md              | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/hooks/hook_civicrm_post.md b/docs/hooks/hook_civicrm_post.md
index 3639ba4e..4a7d28ac 100644
--- a/docs/hooks/hook_civicrm_post.md
+++ b/docs/hooks/hook_civicrm_post.md
@@ -47,6 +47,7 @@ hook_civicrm_post($op, $objectName, $objectId, &$objectRef)
     -   'CustomField'
     -   'CustomGroup'
     -   'CRM_Mailing_DAO_Spool'
+    -   'Domain' (from 5.18.0)
     -   'Email'
     -   'Event'
     -   'EntityTag'
diff --git a/docs/hooks/hook_civicrm_pre.md b/docs/hooks/hook_civicrm_pre.md
index f5466fe9..02de5901 100644
--- a/docs/hooks/hook_civicrm_pre.md
+++ b/docs/hooks/hook_civicrm_pre.md
@@ -49,6 +49,7 @@ changing between the old and new data.
     -   'CustomGroup'
     -   'CustomField'
     -   'Dashboard'
+    -   'Domain' (from 5.18.0)
     -   'Email'
     -   'EntityBatch'
     -   'EntityTag' (from 4.7.16)
diff --git a/docs/hooks/list.md b/docs/hooks/list.md
index 8b48bbde..1e00112c 100644
--- a/docs/hooks/list.md
+++ b/docs/hooks/list.md
@@ -94,7 +94,7 @@ This is an overview list of all available hooks, listed by category.
 
 * **[hook_civicrm_alterMailContent](/hooks/hook_civicrm_alterMailContent.md)** - called after getting the content of the mail and before tokenizing it.
 * **[hook_civicrm_alterMailer](/hooks/hook_civicrm_alterMailer.md)** - called when CiviCRM prepares an email driver class to handle outbound message delivery.
-* **[hook_civicrm_alterMailParams](/hooks/hook_civicrm_alterMailParams.md)** - called when an email is about to be sent by CiviCRM.
+* **[hook_civicrm_alterMailParams](/hooks/hook_civicrm_alterMailParams.md)** - called when an email is being prepared for sending by CiviCRM.
 * **[hook_civicrm_alterMailingRecipients](/hooks/hook_civicrm_alterMailingRecipients.md)** - called to allow the user to alter the mailing recipients after they have been constructed.
 * **[hook_civicrm_emailProcessor](/hooks/hook_civicrm_emailProcessor.md)** - called after *each* email has been processed by the script `bin/EmailProcessor.php`.
 * **[hook_civicrm_emailProcessorContact](/hooks/hook_civicrm_emailProcessorContact.md)** - called by the Email Processor when deciding which contact to create an activitity for recording an inbound email.
-- 
GitLab