mc_jumpbox_future_years - joedolson/my-calendar GitHub Wiki
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$futureNumber of years ahead.stringstring$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, '' )