Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Order::add_status_transition_note( string $note, bool $transition )

Add an order note for status transition


Description Description


Parameters Parameters

$note

(Required) Note to be added giving status transition from and to details.

$transition

(Required) Details of the status transition.


Top ↑

Return Return

(int) Comment ID.


Top ↑

Source Source

File: includes/class-wc-order.php

	private function add_status_transition_note( $note, $transition ) {
		return $this->add_order_note( trim( $transition['note'] . ' ' . $note ), 0, $transition['manual'] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.