MerchantEmailNotifications::get_merchant_preferred_name( AutomatticWooCommerceAdminNotesMerchantEmailNotificationsWP_User $user )
Get the preferred name for user. First choice is the user’s first name, and then display_name.
Description Description
Parameters Parameters
- $user
-
(Required) Recipient to send the note to.
Return Return
(string) User's name.
Source Source
File: packages/woocommerce-admin/src/Notes/MerchantEmailNotifications/MerchantEmailNotifications.php