Skip to content

mc_jumpbox_future_years

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

How many years into the future should be shown in the navigation jumpbox. Default '5'.

Auto-generated Example

add_filter(
   'mc_jumpbox_future_years',
    function(
        int $future,
        string string
    ) {
        // Your code here.
        return $future;
    },
    10,
    2
);

Parameters

  • int $future Number of years ahead.
  • string string $cid Current calendar ID. '' when running in the shortcode generator. Other variable names: $cid, $value

Returns

int

Files

apply_filters( 'mc_jumpbox_future_years', $future, $cid )
apply_filters( 'mc_jumpbox_future_years', 5, '' )

← All Hooks

Clone this wiki locally