From f6de2ffde7c68e2a071d436d456bf9d6bd867f3c Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Tue, 13 Feb 2024 09:33:07 +0100 Subject: [PATCH] Add ` if ( ! defined( 'ABSPATH' ) )`. --- pronamic-pay-ninja-forms.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pronamic-pay-ninja-forms.php b/pronamic-pay-ninja-forms.php index 692039a..e1e9b31 100644 --- a/pronamic-pay-ninja-forms.php +++ b/pronamic-pay-ninja-forms.php @@ -27,6 +27,10 @@ * @package Pronamic\WordPress\Pay\Extensions\NinjaForms */ +if ( ! defined( 'ABSPATH' ) ) { + exit; +} + add_filter( 'pronamic_pay_plugin_integrations', function ( $integrations ) {