Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::get_order_item_type()
Method of the class: OrdersTableDataStore{}
No Hooks.
Return
null
. Ничего (null).
Usage
$OrdersTableDataStore = new OrdersTableDataStore(); $OrdersTableDataStore->;
OrdersTableDataStore::get_order_item_type() OrdersTableDataStore::get order item type code WC 8.0.2
if ( ! $order->get_date_created( 'edit' ) ) { $order->set_date_created( time() );