From 4ff0d2a281087fd1d93a429c944170e453ee663d Mon Sep 17 00:00:00 2001 From: carmenmaymo Date: Wed, 4 Dec 2024 13:04:03 +0100 Subject: [PATCH] Back to original hook --- mollie-payments-for-woocommerce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mollie-payments-for-woocommerce.php b/mollie-payments-for-woocommerce.php index 4e47d91f..096abea8 100644 --- a/mollie-payments-for-woocommerce.php +++ b/mollie-payments-for-woocommerce.php @@ -162,4 +162,4 @@ function initialize() } } -add_action('after_setup_theme', __NAMESPACE__ . '\\initialize'); +add_action('plugins_loaded', __NAMESPACE__ . '\\initialize');