Filter: wu_get_checkout_variables
Allow plugin developers to filter the pre-sets of a checkout page.
Be careful, missing keys can completely break the checkout on the front-end.
Parameters
| Name | Type | Description |
|---|---|---|
| $variables | array | Localized variables. |
| $checkout | \Checkout | The checkout class. |
Since
- 2.0.0
Source
Defined in inc/checkout/class-checkout.php at line 2324
Returns
The new variables array.