Skip to content

Instantly share code, notes, and snippets.

@Pebblo Pebblo/example.php Secret
Created Feb 19, 2018

What would you like to do?
Example of how to change the default link used for the 'Event List' links throughout Event Espresso
<?php //Please do not include the opening PHP tag if you already have one.
//Filter all locations within EE that link to the event list to use a custom URL.
function tw_ee_change_event_list_archive_link($old_link, $post_type)
if ($post_type === 'espresso_events') {
return site_url() . '/custom_event_list';
return $old_link;
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.