-
-
Save BeardedGinger/896fe8a0e41ac2b13e93 to your computer and use it in GitHub Desktop.
Change Required text on Community Events Fields
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( 'tribe_community_required_field_marker', 'change_required_text' ); | |
/** | |
* Change "required" text on required fields | |
*/ | |
function change_required_text() { | |
$html = '<small class="req">Must Enter</small>'; | |
return $html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment