From 69d9f1f6ffcf2ce71f1158506198637ac8e9e5a2 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Fri, 22 Dec 2017 09:58:05 -0800 Subject: [PATCH] Updated spacing --- includes/wc-product-functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/wc-product-functions.php b/includes/wc-product-functions.php index 0b6c1c6b63e..3e1e326a9d8 100644 --- a/includes/wc-product-functions.php +++ b/includes/wc-product-functions.php @@ -375,7 +375,7 @@ function wc_scheduled_sales() { // Sales which are due to start $product_ids = $data_store->get_starting_sales(); if ( $product_ids ) { - do_action('wc_before_products_starting_sales', $product_ids); + do_action( 'wc_before_products_starting_sales', $product_ids ); foreach ( $product_ids as $product_id ) { if ( $product = wc_get_product( $product_id ) ) { $sale_price = $product->get_sale_price(); @@ -391,7 +391,7 @@ function wc_scheduled_sales() { $product->save(); } } - do_action('wc_after_products_starting_sales', $product_ids); + do_action( 'wc_after_products_starting_sales', $product_ids ); delete_transient( 'wc_products_onsale' ); } @@ -399,7 +399,7 @@ function wc_scheduled_sales() { // Sales which are due to end $product_ids = $data_store->get_ending_sales(); if ( $product_ids ) { - do_action('wc_before_products_ending_sales', $product_ids); + do_action( 'wc_before_products_ending_sales', $product_ids ); foreach ( $product_ids as $product_id ) { if ( $product = wc_get_product( $product_id ) ) { $regular_price = $product->get_regular_price(); @@ -410,7 +410,7 @@ function wc_scheduled_sales() { $product->save(); } } - do_action('wc_after_products_ending_sales', $product_ids); + do_action( 'wc_after_products_ending_sales', $product_ids ); WC_Cache_Helper::get_transient_version( 'product', true ); delete_transient( 'wc_products_onsale' );