WC_Abstract_Order::get_version()publicWC 1.0

Get order_version.

{} It's a method of the class: WC_Abstract_Order{}

No Hooks.

Return

String.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_version( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Abstract_Order::get_version() WC 6.8.2

public function get_version( $context = 'view' ) {
	return $this->get_prop( 'version', $context );
}