WordPress at Your Fingertips
function is not described

WC_Order::set_transaction_id() public WC 1.0

Set transaction id.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Order = new WC_Order();
$WC_Order->set_transaction_id( $value );
$value(string) (required)
Transaction id.

Code of WC_Order::set_transaction_id() WC 5.8.0

public function set_transaction_id( $value ) {
	$this->set_prop( 'transaction_id', $value );
}