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


Top ↑

Return Return

(null|int) null on error or WP_Comment ID of the note


Top ↑

Source Source

File: includes/models/model.llms.order.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.35.0 Sanitize $_SERVER data.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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