Skip to content

mc_event_access_choices

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

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

Clone this wiki locally