mc_filter_month - joedolson/my-calendar GitHub Wiki
Filter the starting month for the [my_calendar] shortcode.
Auto-generated Example
add_filter(
'mc_filter_month',
function(
int $month,
array $params
) {
// Your code here.
return $month;
},
10,
2
);
Parameters
int$monthAn integer between 1 and 12.array$paramsShortcode parameters.
Returns
int
Files
apply_filters( 'mc_filter_month', $shortcode_month, $params )