/** * Add custom row to order email table */ add_filter('woocommerce_get_order_item_totals', 'cc_add_custom_row_to_email', 10, 2); function cc_add_custom_row_to_email($total_rows, $myorder_obj) { $total_rows['recurr_not'] = array( 'label' => __('Warranty:', 'woocommerce'), 'value' => '1 year' ); return $total_rows; }