Clanbite Events

apply_filters( 'clanbite_events_extension_active', bool $active )

Filter whether the Events extension is considered active.

Filter PHP

Parameters

$active (bool)

True when cp_events is in the installed-extensions option.

Example

add_filter( 'clanbite_events_extension_active', function ( $active ) {
	// Change $active here.
	return $active;
}, 10, 1 );

Defined in inc/extensions/events/functions.php