mc_event_states - joedolson/my-calendar GitHub Wiki
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$statesArray of states where key is the integer value of the
Files
apply_filters( 'mc_event_states', $states )