cartpops_cart_totals_order_total_html

Filter the order total HTML.

/**
 * Filter the order total HTML
 *
 * @param string $html String containing HTML.
 */
function my_prefix_html_order_total( $html ) {
	// do something with $html

	return $html;
}
add_filter( 'cartpops_cart_totals_order_total_html', 'my_prefix_html_order_total', 10, 1 );

It's time to improve your WooCommerce Cart

CartPops is a WooCommerce Add To Cart Popup, that helps every shop owner improve their user experience, increase conversions & maximize profits.

Was this page helpful?