-
Notifications
You must be signed in to change notification settings - Fork 16
mc_format_tribe_event_for_import
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter event to be inserted from Tribe.
add_filter(
'mc_format_tribe_event_for_import',
function(
array $my_calendar_event,
object $event,
string $type
) {
// Your code here.
return $my_calendar_event;
},
10,
3
);-
array$my_calendar_eventArray of data to be passed to mc_check_data. -
object$eventPost object from tribe_events post type. -
string$typeType of data being returned; instance or event.
array
apply_filters( 'mc_format_tribe_event_for_import', $my_calendar_event, $event, $type )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 )