Skip to content

mc_daterange_begin_format

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

Start date format used in 'date' and 'daterange' template tags. Fallback value for datespan. Default from My Calendar settings.

Auto-generated Example

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

Parameters

  • string $format Date Format in PHP date format.
  • string string $context 'template_begin'. Other variable names: $template_begin

Returns

string Date format.

Files

apply_filters( 'mc_daterange_begin_format', $date_format, 'template_begin' )

← All Hooks

Clone this wiki locally