Skip to content

mcs_time_block

Joe Dolson edited this page May 15, 2026 · 4 revisions

Filter time block output.

Auto-generated Example

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

Parameters

  • {string} $time HTML time block output.
  • {object} $event Event object.

Returns

{string}

Files

apply_filters( 'mcs_time_block', $time, $event )

← All Hooks

Clone this wiki locally