Filter the discount total HTML.
/**
* Filter the discount total HTML.
*
* @param string $html String containing HTML.
*/
function my_prefix_html_discount_total( $html ) {
// do something with $html
return $html;
}
add_filter( 'cartpops_cart_totals_discount_total_html', 'my_prefix_html_discount_total', 10, 1 );