Skip to content
Docs
Get RestroPress

Action

rpress_checkout_table_subtotal_last

Updated
On this page

Fires at the end of the tax-exclusive subtotal row in the checkout cart table.

Runs inside the subtotal footer row after its cell. The row is only output when taxes are enabled and prices do not include tax.

Example#

function my_subtotal_last() {
	echo '<td class="my-subtotal-pad"></td>';
}
add_action( 'rpress_checkout_table_subtotal_last', 'my_subtotal_last', 10, 0 );

Source#

Fired from:

  • templates/checkout_cart.php (line 153)

See also#

Was this page helpful?