Hello
I want change something at the current event displaying.
So I try with this function (in my child_theme function.php file) to hide the displaying of “Réccurent évènements” in a list :
add_filter( ‘fct_change_affic_recurent_event’, ‘tribe_events_recurrence_tooltip’,100,1);
function fct_change_affic_recurent_event( $post_id = null ) {
if ( empty( $post_id ) ) {
$post_id = get_the_ID();
}
$tooltip = ”;
if ( tribe_is_recurring_event( $post_id ) ) {
}
return $tooltip;
}
But this don’t change anything here : https://testcoteauxpais.org/events/?_sft_tribe_events_cat=soiree
Can you give me an advise ?
Thank for your help.
Sorry for my bad english.
Have a good day,
Yves