apply_filters( 'mc_display_location_events', $args, $location ) → {array}
Filter the arguments used to generate upcoming events for a location. Default ['ltype' => 'name', 'lvalue' => {location_label}, 'type' => 'events', 'after' => 5, 'before' => 0, 'fallback' => 'No events currently scheduled at this location.'].
Parameters:
Name | Type | Description |
---|---|---|
$args |
array | Array of upcoming events arguments. |
$location |
object | Location object. |
- Source:
Returns:
- Type
- array