Action
rpress_cart_line_item
Fires after the fee rows in the sidebar cart totals.
Runs in the sidebar cart totals list after the subtotal, discount, tax and fee rows and before the Total row. Output must be li elements.
Example#
function my_cart_line_item() {
echo '<li class="cart_item rpress-cart-meta">' . esc_html__( 'Tip not included', 'my-textdomain' ) . '</li>';
}
add_action( 'rpress_cart_line_item', 'my_cart_line_item', 10, 0 );
Source#
Fired from:
templates/cart/checkout.php(line 60)
See also#
Was this page helpful?
