Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Created January 8, 2016 18:10
Show Gist options
  • Save lorenzocaum/5c140a0145ba4be54895 to your computer and use it in GitHub Desktop.
Save lorenzocaum/5c140a0145ba4be54895 to your computer and use it in GitHub Desktop.
How to change the event cart is empty messaging for the Multiple Event Registration add-on for Event Espresso 4.

Add the sample code below to your child theme's functions.php file or in a site specific plugin. Then change REPLACE ME to your new message.

<?php
//* Do NOT include the opening php tag

//* Update the messaging for an empty cart
add_filter( 'FHEE__EE_Event_Cart_Line_Item_Display_Strategy___empty_msg_row', 'ee_change_empty_cart_messaging' );
function ee_change_empty_cart_messaging() {

 return 'REPLACE ME';
}
@lorenzocaum
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment