Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to change the messaging for the view details button on event listings page in 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 the text that you want the button to show.

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

//* Adjust the messaging for the view details button on the custom event listings
add_filter ('FHEE__EE_Ticket_Selector__display_view_details_btn__btn_text', 'ee_custom_messaging_view_details_button');

function ee_custom_messaging_view_details_button(){
    return 'REPLACE ME';
}
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.