Skip to content

mc_notime_label

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

Label to use in place of time for an event with no fixed time.

Auto-generated Example

add_filter(
   'mc_notime_label',
    function(
        string $notime,
        object $event
    ) {
        // Your code here.
        return $notime;
    },
    10,
    2
);

Parameters

  • string $notime Default value from settings or event post meta.
  • object $event Event object.

Returns

string Text describing when the event occurs. E.g. 'all day' or 'to be determined'.

Files

apply_filters( 'mc_notime_label', $notime, $event )

← All Hooks

Clone this wiki locally