Last active
July 18, 2023 17:00
-
-
Save nielslange/146338fbdce0ac78c66b3f9ea374135a to your computer and use it in GitHub Desktop.
Totals Footer Item filter » totalLabel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { registerCheckoutFilters } = window.wc.blocksCheckout; | |
// Adjust the total label. | |
registerCheckoutFilters( 'example-extension', { | |
totalLabel: () => 'Deposit due today' | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment