Skip to content

mc_event_states

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

Filter available event status types.

state and the value is an array with type and label.

Auto-generated Example

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

Parameters

  • array $states Array of states where key is the integer value of the

Files

apply_filters( 'mc_event_states', $states )

← All Hooks

Clone this wiki locally