'active', ) ); use Activitypub\Activity\Extended_Object\Event; if ( ! isset( $args ) || ! array_key_exists( 'event_terms', $args ) ) { return; } if ( ! current_user_can( 'manage_options' ) ) { return; } $event_terms = $args['event_terms']; require_once ACTIVITYPUB_EVENT_BRIDGE_PLUGIN_DIR . '/includes/event-categories.php'; $selected_default_event_category = \get_option( 'activitypub_event_bridge_default_event_category', 'MEETING' ); $current_category_mapping = \get_option( 'activitypub_event_bridge_event_category_mappings', array() ); ?>