Skip to content
Docs
Get RestroPress

Action

rpress_checkout_table_subtotal_first

Updated
On this page

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

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

Example#

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

Source#

Fired from:

  • templates/checkout_cart.php (line 151)

See also#

Was this page helpful?