Divi implements Registerable
Integrates with Divi.
Interfaces, Classes and Traits
- Registerable
Table of Contents
- display_discounted_price_in_cart() : string
- Display the discounted price in the cart.
- display_discounted_subtotal_in_cart() : string
- Display the discounted subtotal in the cart.
- register() : mixed
Methods
display_discounted_price_in_cart()
Display the discounted price in the cart.
public
display_discounted_price_in_cart(string $price, array<string|int, mixed> $values, string $cart_item_key) : string
Parameters
- $price : string
-
The price.
- $values : array<string|int, mixed>
-
The cart item values.
- $cart_item_key : string
-
The cart item key.
Return values
string —display_discounted_subtotal_in_cart()
Display the discounted subtotal in the cart.
public
display_discounted_subtotal_in_cart(string $subtotal, array<string|int, mixed> $values, string $cart_item_key) : string
Parameters
- $subtotal : string
-
The subtotal.
- $values : array<string|int, mixed>
-
The cart item values.
- $cart_item_key : string
-
The cart item key.
Return values
string —register()
public
register() : mixed