Woocommerce Schedule Sale Start Date Issue
I am trying programmatically set a sale start date. I am using: function mysalesdates( $product, $sale_start,$sale_end ) { if ( ! is_a( $product, 'WC_Product' ) ) { $product = wc_get_product( $product ); } if ( ! $product ) { return…