Filter: mc_get_events_sites

apply_filters( 'mc_get_events_sites', $site, $args ) → {array}

Filter site parameter in queries on a multisite network. Allows a query to show events merged from multiple sites using a single shortcode.

Parameters:
Name Type Description
$site array

Array of sites or a single site if displaying events from a different site on the network.

$args array

Shortcode arguments.

Source:
Returns:
Type
array