Filter: mc_before_event

apply_filters( 'mc_before_event', $new_content, $event, $view, $time ) → {string}

Prepend content before single event. Default empty string.

Parameters:
Name Type Description
$new_content string

Content to prepend before the event.

$event object

Event object.

$view string

View type.

$time string

Time view.

Source:
Returns:
Type
string

apply_filters( 'mc_before_event', $details, $event, $type, $time ) → {string}

Filter details before the event content..

Parameters:
Name Type Description
$details string

HTML content.

$event object

My Calendar event object.

$type string

View type.

$time string

View timeframe.

Source:
Returns:
Type
string