Skip to content

Instantly share code, notes, and snippets.

@Pebblo Pebblo/example.php Secret
Last active Feb 20, 2020

What would you like to do?
Example of how to alter the MER cart model success message.
//Alter the successfully added for this event string
function tw_ee_change_cart_result_message($original_text, $ticket_count) {
return sprintf(
'1 item was successfully added for this event.',
'%1$s items were successfully added for this event.',
add_filter('FHEE__EED_Multi_Event_Registration__get_cart_results_results_message', 'tw_ee_change_cart_result_message', 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.