WC_Product::set_purchase_note()publicWC 3.0.0

Set purchase note.

Method of the class: WC_Product{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Product = new WC_Product();
$WC_Product->set_purchase_note( $purchase_note );
$purchase_note(string) (required)
Purchase note.

Changelog

Since 3.0.0 Introduced.

WC_Product::set_purchase_note() code WC 8.7.0

public function set_purchase_note( $purchase_note ) {
	$this->set_prop( 'purchase_note', $purchase_note );
}