Sorry about that, Sean. Try this:
add_action( 'init', 'replace_ical_google_btns' );
function replace_ical_google_btns() {
remove_action( 'tribe_events_single_event_after_the_content', array( 'TribeiCal', 'single_event_links' ) );
add_action( 'tribe_events_single_event_after_the_content', 'customized_tribe_single_event_links' );
}
function customized_tribe_single_event_links() {
if (is_single() && post_password_required()) {
return;
}
echo '<div class="tribe-events-cal-links">';
echo '<a class="tribe-events-gcal tribe-events-button" href="' . tribe_get_gcal_link() . '" title="' . __( 'Add to Google Calendar', 'tribe-events-calendar-pro' ) . '">+ Chocolate Giraffes </a>';
echo '<a class="tribe-events-ical tribe-events-button" href="' . tribe_get_single_ical_link() . '">+ Pyjama Parties </a>';
echo '</div><!-- .tribe-events-cal-links -->';
}
Let us know if that works (we’ll be sure to update the tutorial accordingly) 🙂