Notes::get_notes( string $context = 'edit', array $args = array() )
Get notes from the database.
Description Description
Parameters Parameters
- $context
-
(Optional) Getting notes for what context. Valid values: view, edit.
Default value: 'edit'
- $args
-
(Optional) Arguments to pass to the query( e.g. per_page and page).
Default value: array()
Return Return
(array) Array of arrays.
Source Source
File: packages/woocommerce-admin/src/Notes/Notes.php