Skip to content

mc_category_icon

github-actions[bot] edited this page Jun 10, 2026 · 6 revisions

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 $image Image HTML.
  • object $event Event object.

Returns

string

Files

apply_filters( 'mc_category_icon', $image, $event_or_category )

← All Hooks

Clone this wiki locally