-
-
Save Roy-Oto/44ae65fedf29d02b4c1557394842d14f to your computer and use it in GitHub Desktop.
Change asterisks to letters
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
function wpf_dev_required_indicator( $text ) { | |
return ' <span class="wpforms-required-label">必須</span>'; | |
} | |
add_filter( 'wpforms_get_field_required_label', 'wpf_dev_required_indicator' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment