mc_month_year_format - joedolson/my-calendar GitHub Wiki
Filter the date format used for previous link if the prev link is in a different year.
Auto-generated Example
add_filter(
'mc_month_year_format',
function(
string $format,
array $date,
string $format,
string $time,
string $month
) {
// Your code here.
return $format;
},
10,
5
);
Parameters
string$formatPHP Date format string.array$dateCurrent date array.string$formatView format.string$timeView time frame.string$monthmonth used in navigation reference (next month.)
Returns
string
Files
apply_filters( 'mc_month_year_format', 'F, Y', $date, $format, $time, $month )
apply_filters( 'mc_month_year_format', 'F, Y', $date, $format, $time, $month )