Skip to content

mc_upcoming_attributes

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Modify the arguments used to generate upcoming events.

Auto-generated Example

add_filter(
   'mc_upcoming_attributes',
    function(
        array $query,
        array
    ) {
        // Your code here.
        return $query;
    },
    10,
    2
);

Parameters

  • array $query All arguments used to generate this list.
  • array $args Subset of parameters used to generate this list's ID hash. Other variable names: $args

Returns

array Array of event listing arguments.

Files

apply_filters( 'mc_upcoming_attributes', $query, $args )

← All Hooks

Clone this wiki locally