Add a hook to easily add staff custom fields to emails

Issue #661 wontfix
Valentina R created an issue

A few people have been asking how to add a Zoom/Meet link in emails for their staff. They have a custom field in the user profile.

It would be great if we could add an action to add the links for staff members assigned to the appointment easily (all they need are the staff IDs). This way they won’t have to rewrite the email template.

Comments (2)

  1. Željan Topić

    No need for additional hooks. They can already hook into 'woocommerce_email_after_order_table' or 'woocommerce_email_order_meta'. Both have Order object as well as Appointment object attached, which they can use to get staff IDs.

  2. Log in to comment