WC_Abstract_Order::set_version()publicWC 1.0

Set order_version.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->set_version( $value );
$value(string) (required)
Value to set.

Code of WC_Abstract_Order::set_version() WC 6.8.2

public function set_version( $value ) {
	$this->set_prop( 'version', $value );
}