dokan_get_vendor_order_details( $order_id, $vendor_id = null )

Description #

Get vendor order details by order ID

Parameters #

( int ) $order_id – The Order ID

( int ) $vendor_id = 0 – The Seller ID

Return #

( array ) return an empty array in case the order has suborders

Hooks #

dokan_get_vendor_order_details ( filter )

Usage #

$order_info = dokan_get_vendor_order_details( 23 );
echo $order_info; //( array ) order details

Leave a Reply

Your email address will not be published. Required fields are marked *