Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Event Espresso 4, remove copy attendee info template
<?php
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file
add_filter(
'FHEE__EEH_Template__locate_template__full_template_paths',
'my_copy_attendee_info_template_do_not_load',
10,
2
);
function my_copy_attendee_info_template_do_not_load(
$full_template_paths,
$file_name
) {
if( $file_name == 'copy_attendee_info.template.php') {
return;
}
return $full_template_paths;
}
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.