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