Notes
REST API Admin Notes controller class.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/Notes.php
Methods Methods
- batch_update_items — Batch update a set of notes.
- delete_all_items — Delete all notes.
- delete_item — Delete a single note.
- get_collection_params — Get the query params for collections.
- get_item — Get a single note.
- get_item_permissions_check — Check whether a given request has permission to read a single note.
- get_item_schema — Get the note's schema, conforming to JSON Schema.
- get_items — Get all notes.
- get_items_permissions_check — Check whether a given request has permission to read notes.
- get_requested_updates — Prepare an array with the the requested updates.
- maybe_add_nonce_to_url — Maybe add a nonce to a URL.
- prepare_item_for_response — Prepare a note object for serialization.
- prepare_note_data_for_response — Prepare note data.
- prepare_objects_query — Prepare objects query.
- prepare_query_for_response — Prepare a path or query for serialization to the client.
- register_routes — Register the routes for admin notes.
- track_opened_email — Track opened emails.
- undoremove_items — Batch update a set of notes.
- update_item — Update a single note.
- update_items_permissions_check — Makes sure the current user has access to WRITE the settings APIs.