Skip to content

Instantly share code, notes, and snippets.

@Pebblo
Created February 1, 2017 13:23
Show Gist options
  • Save Pebblo/2873e08d239e5e82435045bf73521770 to your computer and use it in GitHub Desktop.
Save Pebblo/2873e08d239e5e82435045bf73521770 to your computer and use it in GitHub Desktop.
How to filter the 'Event Cart' text to use something else in its place, in this example just 'Cart'
<?php //Please do not include the opening PHP tag if you already have one.
function tw_ee_return_cart() {
return 'Cart';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__set_definitions__event_cart_name', 'tw_ee_return_cart' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment