Created
August 10, 2016 21:29
-
-
Save GeoffEW/b12ecb9a75b8ad2210e18183ffc96205 to your computer and use it in GitHub Desktop.
Replaces label for RSVP tickets in the radio button selector in the Community Tickets front-end "Add ticket" interface
This file contains hidden or 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 | |
function change_rsvp_label() { ?> | |
<script> | |
jQuery(document).ready( function ( ){ | |
jQuery('input[value="Tribe__Tickets__RSVP"]').next().html('Free Tickets'); | |
}); | |
</script> | |
<?php | |
} | |
add_action('wp_head', 'change_rsvp_label'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment