Notes
Admin Notes class.
Description Description
Source Source
File: packages/woocommerce-admin/src/Notes/Notes.php
14 |
Methods Methods
- clear_queued_actions — Unschedule unsnooze notes event.
- delete_all_notes — Soft delete of all the admin notes. Returns the deleted items.
- delete_note — Soft delete of a note.
- delete_notes_with_name — Deletes admin notes with a given name.
- get_action_by_id — Get action by id.
- get_note — Get admin note using it's ID
- get_note_status — Get the status of a given note by name.
- get_notes — Get notes from the database.
- get_notes_count — Get the total number of notes
- get_screen_name — Get screen name.
- init — Hook appropriate actions.
- possibly_delete_marketing_notes — Delete marketing notes if marketing has been opted out.
- possibly_delete_survey_notes — Delete actioned survey notes.
- record_tracks_event_with_user — Record tracks event for a specific user.
- record_tracks_event_without_cookies — Record tracks event without using cookies.
- schedule_unsnooze_notes — Schedule unsnooze notes event.
- trigger_note_action — Trigger note action.
- unsnooze_notes — Clear note snooze status if the reminder date has been reached.
- update_note — Update a note.