# usc-e-shop/2.12.2/includes/order/wel-order-functions.php

Welcart e-Commerce, version 2.12.2. 24 lines.

- Page: https://pluginprobe.com/plugins/usc-e-shop/2.12.2/code/includes/order/wel-order-functions.php
- Raw: https://pluginprobe.com/plugins/usc-e-shop/2.12.2/raw/includes/order/wel-order-functions.php
- Modified: 2022-09-27T08:47:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/usc-e-shop/2.12.2/code/includes/order/wel-order-functions.php#L10-L20`.

```php
<?php
/**
 * Welcart Order Functions
 *
 * Functions for Order related.
 *
 * @package Welcart
 */

defined( 'ABSPATH' ) || exit;

/**
 * Function to get order data
 *
 * @since 2.2.2
 *
 * @param mixed $order_id Order ID of the order.
 * @return OrderData|false
 */
function wel_get_order( $order_id ) {
	$WelOrder = new Welcart\OrderData( $order_id );
	return $WelOrder->get_data();
}

```
