From c940c6716511dc59dedb52f1632b480803cd0306 Mon Sep 17 00:00:00 2001 From: aadiityaak Date: Fri, 2 Jun 2023 13:44:29 +0700 Subject: [PATCH] Fix bugs --- inc/function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/function.php b/inc/function.php index 93eadec..35cabd5 100644 --- a/inc/function.php +++ b/inc/function.php @@ -255,7 +255,7 @@ function sweet_addons_woocommerce_share() { } } -add_action('init', 'disable_comments'); +add_action('init', 'sweet_addons_disable_comments'); if(! function_exists('sweet_addons_disable_comments')){ function sweet_addons_disable_comments() { $scroll_to_top_enable = get_theme_mod( 'scroll_to_top_enable', 1 );