WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_version() public WC 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 5.9.0

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