Skip to content
Docs
Get RestroPress

Action

rpress_before_checkout_cart

Updated
On this page

Fires before the checkout cart markup is output.

Runs at the start of rpress_checkout_cart(), before the rpress_checkout_cart_wrap container is printed.

Example#

function my_before_checkout_cart() {
	echo '<p class="my-cart-note">' . esc_html__( 'Review your order below.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_before_checkout_cart', 'my_before_checkout_cart', 10, 0 );

Source#

Fired from:

  • includes/cart/template.php (line 30), in rpress_checkout_cart()

See also#

Was this page helpful?