apply_filters( 'mc_draw_upcoming_event', $item, $details, $template, $args ) → {string}
Draw a custom template for upcoming events. Returning any non-empty string short circuits other template settings.
Parameters:
Name | Type | Description |
---|---|---|
$item |
string | Empty string before event template is drawn. |
$details |
array | Associative array of event template tags. |
$template |
string | Template string passed from widget or shortcode. |
$args |
array | Associative array holding the arguments used to generate this list of upcoming events. |
- Source:
Returns:
Event template details.
- Type
- string