diff --git a/src/Helpers/UI.php b/src/Helpers/UI.php index d5048e1..44b346e 100644 --- a/src/Helpers/UI.php +++ b/src/Helpers/UI.php @@ -60,7 +60,7 @@ public static function enqueueScript( } if ($hasStyles) { - wp_enqueue_style($handle, Loader::getPluginUrl("build/$fileName.css"), [], Loader::getPluginVersion()); + wp_enqueue_style($handle, Loader::getPluginUrl("build/$fileName.css"), [], $script_asset['version']); } wp_set_script_translations($handle, 'cdekdelivery', Loader::getPluginPath('lang'));