Skip to content
Docs
Get RestroPress

Action

rpress_after_checkout_button

Updated
On this page

Fires after the checkout button in the sidebar cart.

Runs at the end of the sidebar cart totals template, after the checkout button list. It runs even when rpress_show_checkout_button hides the button.

Example#

function my_after_checkout_button() {
	echo '<p class="my-checkout-note">' . esc_html__( 'You can review your order on the next step.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_after_checkout_button', 'my_after_checkout_button', 10, 0 );

Source#

Fired from:

  • templates/cart/checkout.php (line 89)

See also#

Was this page helpful?