Add hook to modify 'contribution payment links'
authorMatthew Wire <mjw@mjwconsult.co.uk>
Tue, 14 Jun 2022 17:42:02 +0000 (18:42 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Wed, 15 Jun 2022 16:54:12 +0000 (17:54 +0100)
CRM/Contribute/BAO/Contribution.php

index 800c28ac9437b644f500c9fbc3b9e89729ace6e1..28ed2129bbaeccde41894749b307fbed84b721c6 100644 (file)
@@ -4346,6 +4346,9 @@ LIMIT 1;";
         'extra' => '',
       ];
     }
+
+    CRM_Utils_Hook::links('contribution.edit.action', 'Contribution', $id, $actionLinks);
+
     return $actionLinks;
   }