Skip to content

mc_use_avatars

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Filter to enable or disable avatars.

Auto-generated Example

add_filter(
   'mc_use_avatars',
    function(
        bool $avatars,
        object $event
    ) {
        // Your code here.
        return $avatars;
    },
    10,
    2
);

Parameters

  • bool $avatars false to disable avatars.
  • object $event My Calendar event object.

Returns

bool

Files

apply_filters( 'mc_use_avatars', true, $event )

← All Hooks

Clone this wiki locally