apply_filters( 'mc_custom_template', $details, $tags, $event, $type, $process_date, $time, $template ) → {string}
Filter My Calendar view output. Returning any content will shortcircuit drawing event output.
Parameters:
Name | Type | Description |
---|---|---|
$details |
string | bool | Output HTML for event. Default boolean false. |
$tags |
array | Event data array passed to template function. |
$event |
object | My Calendar event object. |
$type |
string | View type. |
$process_date |
string | Current date being processed. |
$time |
string | View timeframe. |
$template |
string | Existing template. |
- Source:
Returns:
- Type
- string