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()


Top ↑

Return Return

(array) Array of arrays.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Notes/Notes.php




Top ↑

User Contributed Notes User Contributed Notes

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