Action
rpress_checkout_table_discount_first
Fires at the start of the discount row in the checkout cart table.
Runs inside the discount footer row before its cell. The row is always output and is hidden with inline CSS when no discount is applied.
Example#
function my_discount_first() {
echo '<td class="my-discount-pad"></td>';
}
add_action( 'rpress_checkout_table_discount_first', 'my_discount_first', 10, 0 );
Source#
Fired from:
templates/checkout_cart.php(line 157)
See also#
Was this page helpful?
