Skip to content

mc_event_states_label

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

Filter the label for an event state.

Auto-generated Example

add_filter(
   'mc_event_states_label',
    function(
        string $return,
        int $states
    ) {
        // Your code here.
        return $return;
    },
    10,
    2
);

Parameters

  • string $return Type for the current status.
  • int $states An integer representation of a status.

Returns

string

Files

apply_filters( 'mc_event_states_label', $return, $states )

← All Hooks

Clone this wiki locally