Filter: mc_month_format

apply_filters( 'mc_month_format', $format, $date, $format, $time, $month ) → {string}

Filter the date format used for next link if the next link is in a different year.

Parameters:
Name Type Description
$format string

PHP Date format string.

$date array

Current date array.

$format string

View format.

$time string

View time frame.

$month string

month used in navigation reference (next month.)

Source:
Returns:
Type
string

apply_filters( 'mc_month_format', $format, $date, $format, $time, $month ) → {string}

Filter the date format used for previous link if the prev link is in a different year.

Parameters:
Name Type Description
$format string

PHP Date format string.

$date array

Current date array.

$format string

View format.

$time string

View time frame.

$month string

month used in navigation reference (previous month.)

Source:
Returns:
Type
string

apply_filters( 'mc_month_format', $format, $date, $format, $time, $month ) → {string}

Filter the date format used for next link if the next link is in the same year.

Parameters:
Name Type Description
$format string

PHP Date format string.

$date array

Current date array.

$format string

View format.

$time string

View time frame.

$month string

month used in navigation reference (next month.)

Source:
Returns:
Type
string

apply_filters( 'mc_month_format', $format, $date, $format, $time, $month ) → {string}

Filter the date format used for previous link if the previous link is in the same year.

Parameters:
Name Type Description
$format string

PHP Date format string.

$date array

Current date array.

$format string

View format.

$time string

View time frame.

$month string

month used in navigation reference (previous month, generally.)

Source:
Returns:
Type
string