MerchantEmailNotifications
Merchant email notifications.
Description Description
This gets all non-sent notes type email
and sends them.
Source Source
File: packages/woocommerce-admin/src/Notes/MerchantEmailNotifications/MerchantEmailNotifications.php
Methods Methods
- get_merchant_preferred_name — Get the preferred name for user. First choice is the user's first name, and then display_name.
- get_notification_recipients — Get users by role to notify.
- init — Initialize the merchant email notifications.
- run — Send all the notifications type `email`.
- send_merchant_notification — Send the notification to the merchant.
- trigger_notification_action — Trigger the note action.