-
Notifications
You must be signed in to change notification settings - Fork 16
my_calendar_event_imported_from_tribe
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Perform an action after an event has been imported from Tribe Events Calendar to My Calendar.
add_action(
'my_calendar_event_imported_from_tribe',
function(
int $tribe_id,
int $event_id,
int $event_post
) {
// Your code here.
},
10,
3
);-
int$tribe_idPost ID from Tribe Events. -
int$event_idEvent ID from My Calendar. -
int$event_postPost ID for My Calendar event.
do_action( 'my_calendar_event_imported_from_tribe', $tribe_id, $event_id, $response['event_post'] )Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )