From 9d8d2c14a8cb91826e3ba693ce6e0b305bd6715b Mon Sep 17 00:00:00 2001 From: ajayadav09 Date: Fri, 22 Nov 2024 02:41:59 +0530 Subject: [PATCH] added changes for CSS versioning --- includes/HelpCenter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/HelpCenter.php b/includes/HelpCenter.php index 447e26a..7d7f85b 100644 --- a/includes/HelpCenter.php +++ b/includes/HelpCenter.php @@ -126,10 +126,10 @@ public function register_assets() { \wp_enqueue_script( self::$slug ); \wp_enqueue_style( - 'stylesheet', + self::$slug, NFD_HELPCENTER_PLUGIN_URL . 'vendor/newfold-labs/wp-module-help-center/build/index.css', array(), - '1', + $asset['version'], 'screen' );