woocommerce_email_after_fulfillment_table
Action hook to add custom content after fulfillment details in email.
Usage
add_action( 'woocommerce_email_after_fulfillment_table', 'wp_kama_woocommerce_email_after_fulfillment_table_action', 10, 4 );
/**
* Function for `woocommerce_email_after_fulfillment_table` action-hook.
*
* @param WC_Order $order Order object.
* @param bool $sent_to_admin Whether it's sent to admin or customer.
* @param bool $plain_text Whether it's a plain text email.
* @param $email
*
* @return void
*/
function wp_kama_woocommerce_email_after_fulfillment_table_action( $order, $sent_to_admin, $plain_text, $email ){
// action...
}
- $order(WC_Order)
- Order object.
- $sent_to_admin(true|false)
- Whether it's sent to admin or customer.
- $plain_text(true|false)
- Whether it's a plain text email.
- -
Changelog
| Since 2.5.0 | Introduced. |
Where the hook is called
woocommerce_email_after_fulfillment_table
woocommerce/templates/emails/plain/email-fulfillment-details.php 91
do_action( 'woocommerce_email_after_fulfillment_table', $order, $fulfillment, $sent_to_admin, $plain_text, $email );
woocommerce/templates/emails/email-fulfillment-details.php 110
do_action( 'woocommerce_email_after_fulfillment_table', $order, $fulfillment, $sent_to_admin, $plain_text, $email );