Skip to content

mc_grid_date

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

Alter the date format used to show the current day in grid view. Default 'j'.

Auto-generated Example

add_filter(
   'mc_grid_date',
    function(
        string $format,
        array $params
    ) {
        // Your code here.
        return $format;
    },
    10,
    2
);

Parameters

  • string $format Date format per PHP date formatting.
  • array $params Array of view arguments.

Returns

string

Files

apply_filters( 'mc_grid_date', 'j', $params )

← All Hooks

Clone this wiki locally