From ed7b7a47f596d95eaaf9fab936d85cbdc1200746 Mon Sep 17 00:00:00 2001 From: Jon Waldstein Date: Thu, 8 Feb 2024 16:15:39 -0500 Subject: [PATCH] feature: enable gift aid in supported addons --- src/DonationForms/V2/DonationFormsAdminPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DonationForms/V2/DonationFormsAdminPage.php b/src/DonationForms/V2/DonationFormsAdminPage.php index b56e0ab364..24f0b5de05 100644 --- a/src/DonationForms/V2/DonationFormsAdminPage.php +++ b/src/DonationForms/V2/DonationFormsAdminPage.php @@ -313,6 +313,7 @@ public static function getUrl(): string /** * Get an array of supported addons * + * @unreleased Added support for Gift Aid * @since 3.3.0 Add support to the Funds and Designations addon * @since 3.0.0 * @return array @@ -337,7 +338,7 @@ public function getSupportedAddons(): array // 'Manual Donations' => class_exists('Give_Manual_Donations'), 'Funds' => defined('GIVE_FUNDS_ADDON_NAME'), // 'Peer-to-Peer' => defined('GIVE_P2P_NAME'), - // 'Gift Aid' => class_exists('Give_Gift_Aid'), + 'Gift Aid' => class_exists('Give_Gift_Aid'), // 'MailChimp' => class_exists('Give_MailChimp'), // 'Text-to-Give' => defined('GIVE_TEXT_TO_GIVE_ADDON_NAME'), // 'Donation Block for Stripe' => defined('DONATION_BLOCK_FILE'),