Skip to content

mc_list_event_title_hint

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

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 $title Event title.
  • object $now Event object.
  • array $events Array 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 )

← All Hooks

Clone this wiki locally