mc_notime_label - joedolson/my-calendar GitHub Wiki
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$notimeDefault value from settings or event post meta.object$eventEvent 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 )