Skip to content

mc_event_states_by_type

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

Filter the display type for event states.

Auto-generated Example

add_filter(
   'mc_event_states_by_type',
    function(
        array $values,
        string $type
    ) {
        // Your code here.
        return $values;
    },
    10,
    2
);

Parameters

  • array $values Array of integers representing the event states that match the passed type.
  • string $type Publication type requested.

Files

apply_filters( 'mc_event_states_by_type', $values, $type )

← All Hooks

Clone this wiki locally