Filter: mc_event_states_type

apply_filters( 'mc_event_states_type', $return, $states ) → {string}

Filter the display conditions of an event status. Events can either be public; private; or hidden. Public events are visible to all; private events are visible to logged-in users; and hidden events are not visible.

Parameters:
Name Type Description
$return string

Type for the current status.

$states int

An integer representation of a status.

Source:
Returns:
Type
string