WC_Product::set_purchase_note
Set purchase note.
Method of the class: WC_Product{}
No Hooks.
Returns
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() WC Product::set purchase note code WC 10.4.3
public function set_purchase_note( $purchase_note ) {
$this->set_prop( 'purchase_note', $purchase_note );
}