mc_category_icon - joedolson/my-calendar GitHub Wiki
Filter the HTML output for a category icon.
Auto-generated Example
add_filter(
'mc_category_icon',
function(
string $image,
object $event
) {
// Your code here.
return $image;
},
10,
2
);
Parameters
string$imageImage HTML.object$eventEvent object.
Returns
string
Files
apply_filters( 'mc_category_icon', $image, $event_or_category )