Namespace \PlusBusinessSoftware\WooCommerce
Bestand: ExtraOrderData.php
/**
* Allow overriding vertegenwoordigerscode through a filter
*
* @filter plus_order_vertegenwoordigerscode
* @param string $vertegenwoordigerscode The vertegenwoordigerscode to add to the order
* @param WC_Order $order A WC_Order object
* @return string The vertegenwoordigerscode to add to the order
*/
$vertegenwoordigerscode = apply_filters('plus_order_vertegenwoordigerscode', $vertegenwoordigerscode, $order );
/**
* Allow overriding debiteurnummer through a filter
*
* @filter plus_order_debiteurnummer.
* @param string $debiteurnummer The debiteurnummer to add to the order.
* @param int $customer_id The ID of the customer who is placing the order.
* @param WC_Order $order A WC_Order object.
* @return string The debiteurnummer to add to the order.
*/
$debiteurnummer = apply_filters('plus_order_debiteurnummer', $debiteurnummer, $customer_id, $order );
/**
* Allow overriding contactpersoonnummer through a filter
*
* @filter plus_order_contactpersoonnummer.
* @param string $contactpersoonnummer The contactpersoonnummer to add to the order.
* @param int $customer_id The ID of the customer who is placing the order.
* @param WC_Order $order A WC_Order object.
* @return string The contactpersoonnummer to add to the order.
*/
$contactpersoonnummer = apply_filters('plus_order_contactpersoonnummer', $contactpersoonnummer, $customer_id, $order );
/**
* Allow overriding magazijn through a filter
*
* @filter plus_order_ordermagazijn.
* @param string $ordermagazijn The magazijn to add to the order.
* @param WC_Order $order A WC_Order object.
* @return string The magazijn to add to the order.
*/
$ordermagazijn = apply_filters( 'plus_order_ordermagazijn', $ordermagazijn, $order );
/**
* Allow filtering before storing the magazijncode
*
* @filter plus_order_line_magazijncode.
* @param string $magazijncode The magazijn to add to the order line.
* @param WC_Order_Item $line_item A WC_Order_Item object.
* @param WC_Order $order A WC_Order object.
* @return string The magazijn to add to the order line.
*/
$magazijncode = apply_filters('plus_order_line_magazijncode', $magazijncode, $line_item, $order );
/**
* Allow filtering before storing the btw code
*
* @filter plus_order_line_btw_code.
* @param string $king_btw_code The BTW Code to add to the order line.
* @param WC_Order_Item $line_item A WC_Order_Item object.
* @param WC_Order $order A WC_Order object.
* @return string The BTW Code to add to the order line.
*/
$king_btw_code = apply_filters('plus_order_line_btw_code', $king_btw_code, $line_item, $order );