public function send_stock_notifications($product, $new_stock, $qty_ordered) { wc_deprecated_function('send_stock_notifications', '2.7'); }