Created
November 15, 2021 06:58
-
-
Save marcusig/63e255d0bde20661b37985c9a6281025 to your computer and use it in GitHub Desktop.
Product configurator - Add support for HTML in the choice labels
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
<?php | |
add_filter( 'tmpl-pc-configurator-choice-item-label', function( $original_label ) { | |
return '{{{data.name}}}'; | |
}, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment