Action
rpress_checkout_table_tax_first
Fires before the tax row in the checkout cart table.
Runs only when taxes are enabled, in the footer, before the tax row tr element is printed. Output is placed outside any row.
Example#
function my_tax_first() {
echo '<tr><td colspan="3">' . esc_html__( 'Tax is calculated below.', 'my-textdomain' ) . '</td></tr>';
}
add_action( 'rpress_checkout_table_tax_first', 'my_tax_first', 10, 0 );
Source#
Fired from:
templates/checkout_cart.php(line 164)
See also#
Was this page helpful?
