mc_list_event_title_hint - joedolson/my-calendar GitHub Wiki
Format a single title for display in multiple titles on list view.
Auto-generated Example
add_filter(
'mc_list_event_title_hint',
function(
string $title,
object $now,
array $events
) {
// Your code here.
return $title;
},
10,
3
);
Parameters
string$titleEvent title.object$nowEvent object.array$eventsArray of event objects.
Returns
string
Files
apply_filters( 'mc_list_event_title_hint', $cstate, $now, $events )
apply_filters( 'mc_list_event_title_hint', strip_tags( wp_unslash( $now->event_title ), mc_strip_tags() ), $now, $events )