Skip to content

mc_filter_month

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

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 $month An integer between 1 and 12.
  • array $params Shortcode parameters.

Returns

int

Files

apply_filters( 'mc_filter_month', $shortcode_month, $params )

← All Hooks

Clone this wiki locally