-
Notifications
You must be signed in to change notification settings - Fork 16
my_calendar_instance_imported_from_tribe
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Perform an action after an occurrence has been imported from Tribe Events Calendar to My Calendar.
add_action(
'my_calendar_instance_imported_from_tribe',
function(
int $tribe_id,
int $mc_event,
int $parent
) {
// Your code here.
},
10,
3
);-
int$tribe_idPost ID from Tribe Events. -
int$mc_eventEvent ID from My Calendar. -
int$parentParent ID from Tribe.
do_action( 'my_calendar_instance_imported_from_tribe', $tribe_id, $mc_event, $parent )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 )