Created
September 20, 2017 03:34
-
-
Save wolfthemes/50e587b40d457c67f1234d43835c08e8 to your computer and use it in GitHub Desktop.
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
| /** | |
| * Overwrite "Buy Ticket" text in wolf-tour-dates.php | |
| * | |
| * @param string $string | |
| * @return string $string | |
| */ | |
| function overwrite_buy_ticket_text( $string ) { | |
| return 'More Info'; | |
| } | |
| add_filter( 'wolf_buy_ticket_text', 'overwrite_buy_ticket_text' ); | |
| add_filter( 'wolf_buy_ticket_with_price_text', 'overwrite_buy_ticket_text' ); | |
| add_filter( 'wolf_buy_ticket_widget_text', 'overwrite_buy_ticket_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment