WC_Abstract_Order::get_version( string $context = 'view' )
Get order_version.
Description Description
Parameters Parameters
- $context
-
(Optional) View or edit context.
Default value: 'view'
Return Return
(string)
Source Source
File: includes/abstracts/abstract-wc-order.php
public function get_version( $context = 'view' ) { return $this->get_prop( 'version', $context ); }