From f778abda5d3406a580adc7c795024f3d7939cdc6 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Mon, 15 Jan 2024 21:38:07 +0530 Subject: [PATCH] Get the default to be activated plugins dynamically --- includes/Plugins.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/includes/Plugins.php b/includes/Plugins.php index 2a42b39..2e91cf5 100644 --- a/includes/Plugins.php +++ b/includes/Plugins.php @@ -1,6 +1,9 @@ plugin()->basename, + isset( PluginsInstaller::get_wp_slugs()['woocommerce']['path'] ) ? PluginsInstaller::get_wp_slugs()['woocommerce']['path'] : false, + ); + } }