Skip to content
Docs
Get RestroPress

Action

rpress_after_cart_widget

Updated
On this page

Fires after the cart contents inside the cart widget.

Runs in the cart widget output right after rpress_shopping_cart() and before the widget closing markup.

Example#

function my_after_cart_widget() {
	echo '<p class="my-cart-help">' . esc_html__( 'Need help? Call us.', 'my-textdomain' ) . '</p>';
}
add_action( 'rpress_after_cart_widget', 'my_after_cart_widget', 10, 0 );

Source#

Fired from:

  • includes/widgets.php (line 52), in rpress_cart_widget::widget()

See also#

Was this page helpful?