Using a Hook in YayMail

Using a Hook in YayMail

To use one of the above hooks:

  1. Open your email template (e.g., Processing Order, Completed Order).

  2. Add a WooCommerce Element called "Hook" and click to edit it.

  3. Under the Hook dropdown:

    • Select one of the available WooCommerce hooks: woocommerce_email_before_order_table, woocommerce_email_after_order_table.

  4. Customize the padding, background, text color, and other styles.

Save changes!

Last updated

Was this helpful?