Skip to content
Docs
Get RestroPress

Action

rpress_checkout_cart_top

Updated
On this page

Fires at the top of the checkout cart container.

Runs in rpress_checkout_cart() after the rpress_checkout_cart_wrap div opens and before the checkout_cart template part is loaded.

Example#

function my_checkout_cart_top() {
	echo '<p class="my-cart-top">' . esc_html__( 'Your order', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_checkout_cart_top', 'my_checkout_cart_top', 10, 0 );

Source#

Fired from:

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

See also#

Was this page helpful?