From: Matthew Wire Date: Tue, 14 Jun 2022 17:42:02 +0000 (+0100) Subject: Add hook to modify 'contribution payment links' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=8d3c87a0e02d5f13bd1fd60920b5a19595310234;hp=39120a1e8967dfdf38524c0cf71affdf6f0c5281;p=civicrm-core.git Add hook to modify 'contribution payment links' --- diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 800c28ac94..28ed2129bb 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4346,6 +4346,9 @@ LIMIT 1;"; 'extra' => '', ]; } + + CRM_Utils_Hook::links('contribution.edit.action', 'Contribution', $id, $actionLinks); + return $actionLinks; }