LLMS_Order::add_note( string $note, boolean $added_by_user = false )
Add an admin-only note to the order visible on the admin panel notes are recorded using the wp comments API & DB
Description Description
Parameters Parameters
- $note
-
(Required) note content
- $added_by_user
-
(Optional) if this is an admin-submitted note adds user info to note meta
Default value: false
Return Return
(null|int) null on error or WP_Comment ID of the note
Source Source
File: includes/models/model.llms.order.php
Changelog Changelog
Version | Description |
---|---|
3.35.0 | Sanitize $_SERVER data. |
3.0.0 | Introduced. |