Skip to content

mc_filter_day

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

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

Returns

int

Files

apply_filters( 'mc_filter_day', $shortcode_day, $params )

← All Hooks

Clone this wiki locally