Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Recurring Fees
<?php foreach ( $recurring_carts as $recurring_cart_key => $recurring_cart ) : ?>
<?php foreach ( $recurring_cart->get_fees() as $fee ) : ?>
<tr class="fee">
<th><?php echo esc_html( $fee->name ); ?></th>
<td data-title="<?php echo esc_html( $fee->name ); ?>"><?php wc_cart_totals_fee_html( $fee ); ?></td>
</tr>
<?php endforeach; ?>
<?php endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment