| @@ -57,8 +57,9 @@ | ||
| 57 | 57 | 'wpf' => 'NotificationX\Extensions\WPF\WPForms', |
| 58 | 58 | 'reviewx' => 'NotificationX\Extensions\ReviewX\ReviewX', |
| 59 | 59 | 'woocommerce' => 'NotificationX\Extensions\WooCommerce\WooCommerce', |
| 60 | 60 | 'woocommerce_sales' => 'NotificationX\Extensions\WooCommerce\WooCommerceSales', |
| 61 | + 'woocommerce_cart_peek' => 'NotificationX\Extensions\WooCommerce\WooCommerceCartPeek', | |
| 61 | 62 | 'woocommerce_sales_reviews' => 'NotificationX\Extensions\WooCommerce\WooCommerceSalesReviews', |
| 62 | 63 | 'woocommerce_sales_inline' => 'NotificationX\Extensions\WooCommerce\WooCommerceSalesInline', |
| 63 | 64 | 'woo_reviews' => 'NotificationX\Extensions\WooCommerce\WooReviews', |
| 64 | 65 | 'wp_comments' => 'NotificationX\Extensions\WordPress\WPComments', |
| @@ -75,8 +76,9 @@ | ||
| 75 | 76 | 'vimeo' => 'NotificationX\Extensions\Vimeo\Vimeo', |
| 76 | 77 | 'wistia' => 'NotificationX\Extensions\Wistia\Wistia', |
| 77 | 78 | 'surecart' => 'NotificationX\Extensions\SureCart\SureCart', |
| 78 | 79 | 'ActiveCampaign' => 'NotificationX\Extensions\ActiveCampaign\ActiveCampaign', |
| 80 | + 'brevo' => 'NotificationX\Extensions\Brevo\Brevo', | |
| 79 | 81 | 'popup_notification' => 'NotificationX\Extensions\Popup\PopupNotification', |
| 80 | 82 | 'fluentcart' => 'NotificationX\Extensions\FluentCart\FluentCart', |
| 81 | 83 | 'fluentcart_inline' => 'NotificationX\Extensions\FluentCart\FluentCartInline', |
| 82 | 84 | 'gdpr_notification' => 'NotificationX\Extensions\GDPR\GDPR_Notification', |
| @@ -94,8 +96,9 @@ | ||
| 94 | 96 | $this->register_extensions(); |
| 95 | 97 | } |
| 96 | 98 | |
| 97 | 99 | public function register_extensions(){ |
| 100 | + // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Reviewed for the NotificationX codebase: acceptable in this context. | |
| 98 | 101 | $this->extension_classes = apply_filters( 'nx_extension_classes', $this->extension_classes ); |
| 99 | 102 | foreach ($this->extension_classes as $extension) { |
| 100 | 103 | // initializing extension. |
| 101 | 104 | if(class_exists($extension)){ |