uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
woocommerce
/
.
/
src
/
.
/
Internal
/
Orders
/
PointOfSaleOrderUtil.php
/
/
<?php /** * PointOfSaleOrderUtil class file. */ declare( strict_types = 1 ); namespace Automattic\WooCommerce\Internal\Orders; use WC_Abstract_Order; /** * Helper class for POS order related functionality. * * @internal Just for internal use. */ class PointOfSaleOrderUtil { /** * Check if the order is a POS (Point of Sale) order. * * This method determines if an order was created via the POS REST API * by checking the 'created_via' property of the order. * * @param WC_Abstract_Order $order Order instance. * @return bool True if the order is a POS order, false otherwise. */ public static function is_pos_order( WC_Abstract_Order $order ): bool { return 'pos-rest-api' === $order->get_created_via(); } }
/home/batcwwjx/www/wp-content/plugins/woocommerce/./src/./Internal/Orders/PointOfSaleOrderUtil.php