mc_date_badge - joedolson/my-calendar GitHub Wiki
Filter the date badge HTML.
Auto-generated Example
add_filter(
'mc_date_badge',
function(
string $badge,
int $time,
string $date
) {
// Your code here.
return $badge;
},
10,
3
);
Parameters
string$badgeHTML output of the badge.int$timeTimestamp used.string$dateDate string passed into function.
Returns
string
Files
apply_filters( 'mc_date_badge', $badge, $time, $date )