-
Notifications
You must be signed in to change notification settings - Fork 16
mc_heading_inner_title
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Filter event title inside event heading.
add_filter(
'mc_heading_inner_title',
function(
string $inner_heading,
string $event_title,
object $event
) {
// Your code here.
return $inner_heading;
},
10,
3
);-
string$inner_headingHeading HTML and text. -
string$event_titleTitle as passed. -
object$eventMy Calendar event object.
string
apply_filters( 'mc_heading_inner_title', $wrap . $image . '<div class="event-title-container">' . trim( $event_title ) . '</div>' . $balance, $event_title, $event )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 )