mc_event_access_choices - joedolson/my-calendar GitHub Wiki

Filter available event accessibility options.

Auto-generated Example

add_filter(
   'mc_event_access_choices',
    function( array $choices ) {
        // Your code here.
        return $choices;
    }
);

Parameters

  • array $choices Indexed array of choices. Events store only the index.

Returns

array

Files

apply_filters( 'mc_event_access_choices', $choices )

← All Hooks