Skip to content
Docs
Get RestroPress

Action

rpress_checkout_table_discount_last

Updated
On this page

Fires at the end of the discount row in the checkout cart table.

Runs inside the discount footer row after its cell. The row is always output and is hidden with inline CSS when no discount is applied.

Example#

function my_discount_last() {
	echo '<td class="my-discount-pad"></td>';
}
add_action( 'rpress_checkout_table_discount_last', 'my_discount_last', 10, 0 );

Source#

Fired from:

  • templates/checkout_cart.php (line 161)

See also#

Was this page helpful?