Action
rpress_checkout_cart_top
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), inrpress_checkout_cart()
See also#
Was this page helpful?
