Skip to content
Docs
Get RestroPress

Action

rpress_after_cart

Updated
On this page

Fires after the sidebar cart markup is printed.

Runs at the end of the sidebar cart template, after the cart wrapper element is closed.

Example#

function my_after_cart() {
	echo '<div class="my-cart-footer">' . esc_html__( 'Secure checkout', 'my-textdomain' ) . '</div>';
}
add_action( 'rpress_after_cart', 'my_after_cart', 10, 0 );

Source#

Fired from:

  • templates/cart/cart.php (line 100)

See also#

Was this page helpful?