From 61abdb2d1f4a811d5a3d9c2538a8096ffae60cc8 Mon Sep 17 00:00:00 2001 From: Morteza Geransayeh Date: Sat, 28 Oct 2023 23:36:42 +0330 Subject: [PATCH] Update woocommerce.php --- includes/plugins/woocommerce.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/plugins/woocommerce.php b/includes/plugins/woocommerce.php index 09fe3f6..ab50c56 100644 --- a/includes/plugins/woocommerce.php +++ b/includes/plugins/woocommerce.php @@ -36,7 +36,6 @@ private function __construct() { add_action( 'admin_enqueue_scripts', array( $this, 'wpp_admin_woocommerce_jalali_datepicker_assets' ) ); // Convert order_date using js -.1.0 add_action( 'save_post', array( $this, 'wpp_change_order_date_on_save_order' ), 0, 2 ); add_action( 'admin_footer', array( $this, 'wpp_fix_show_created_order_date' ) ); add_action( 'admin_init', array( $this, 'wpp_change_wc_report_dates' ), 1000 ); @@ -526,4 +525,4 @@ public function wpp_validate_phone_number( $data, $errors ) { } } -return WPP_WooCommerce::getInstance(); \ No newline at end of file +return WPP_WooCommerce::getInstance();