WC_Notes_Refund_Returns
in package
WC_Notes_Refund_Returns.
Table of Contents
- NOTE_NAME = 'wc-refund-returns-page'
- Name of the note for use in the database.
- get_note() : object
- Get the note.
- possibly_add_note() : mixed
- Maybe add a note to the inbox.
Constants
NOTE_NAME
Name of the note for use in the database.
public
mixed
NOTE_NAME
= 'wc-refund-returns-page'
Methods
get_note()
Get the note.
public
static get_note(int $page_id) : object
Parameters
- $page_id : int
-
The ID of the page.
Return values
object — $note The note object.possibly_add_note()
Maybe add a note to the inbox.
public
static possibly_add_note(int $page_id) : mixed
Parameters
- $page_id : int
-
The ID of the page.