Notes::get_note( int $note_id )
Get admin note using it’s ID
Description #Description
Parameters #Parameters
- $note_id
-
(Required) Note ID.
Return #Return
(AutomatticWooCommerceAdminNotesNote|bool)
Source #Source
File: packages/woocommerce-admin/src/Notes/Notes.php
Related #Related
Uses #Uses
Uses | Description |
---|---|
packages/woocommerce-admin/src/Notes/Note.php: Note::__construct() |
Note constructor. Loads note data. |
includes/wc-deprecated-functions.php: wc_caught_exception() |
When catching an exception, this allows us to log it if unexpected. |
Used By #Used By
Used By | Description |
---|---|
packages/woocommerce-admin/src/Notes/WooCommercePayments.php: WooCommercePayments::possibly_add_note() |
Maybe add a note on WooCommerce Payments for US based sites older than a week without the plugin installed. |
packages/woocommerce-admin/src/Notes/NavigationFeedbackFollowUp.php: NavigationFeedbackFollowUp::get_note() |
Get the note. |
packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php: WooSubscriptionsNotes::prune_inactive_subscription_notes() |
Removes notes for product_ids no longer active on this site. |
packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php: WooSubscriptionsNotes::find_note_for_product_id() |
Finds a note for a given product ID, if the note exists at all. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::delete_notes_with_name() |
Deletes admin notes with a given name. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::delete_all_notes() |
Soft delete of all the admin notes. Returns the deleted items. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::unsnooze_notes() |
Clear note snooze status if the reminder date has been reached. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::possibly_delete_marketing_notes() |
Delete marketing notes if marketing has been opted out. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::possibly_delete_survey_notes() |
Delete actioned survey notes. |
packages/woocommerce-admin/src/Notes/Notes.php: Notes::get_note_status() |
Get the status of a given note by name. |
packages/woocommerce-admin/src/Notes/NavigationNudge.php: NavigationNudge::action_note() |
Actions the note when the option is toggled. |
packages/woocommerce-admin/src/Notes/MerchantEmailNotifications/MerchantEmailNotifications.php: MerchantEmailNotifications::trigger_notification_action() |
Trigger the note action. |
packages/woocommerce-admin/src/Notes/MerchantEmailNotifications/MerchantEmailNotifications.php: MerchantEmailNotifications::run() |
Send all the notifications type |
packages/woocommerce-admin/src/Notes/InstallJPAndWCSPlugins.php: InstallJPAndWCSPlugins::action_note() |
Action the Install Jetpack and WooCommerce Shipping & Tax note, if any exists, and as long as both the Jetpack and WooCommerce Shipping & Tax plugins have been activated. |
packages/woocommerce-admin/src/API/Notes.php: Notes::batch_update_items() |
Batch update a set of notes. |
packages/woocommerce-admin/src/API/Notes.php: Notes::track_opened_email() |
Track opened emails. |
packages/woocommerce-admin/src/API/Notes.php: Notes::delete_item() |
Delete a single note. |
packages/woocommerce-admin/src/RemoteInboxNotifications/SpecRunner.php: SpecRunner::run_spec() |
Run the spec. |
packages/woocommerce-admin/src/API/NoteActions.php: NoteActions::trigger_note_action() |
Trigger a note action. |
packages/woocommerce-admin/src/API/Notes.php: Notes::update_item() |
Update a single note. |
packages/woocommerce-admin/src/API/Notes.php: Notes::get_item() |
Get a single note. |