'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 EVENT_BRIDGE_FOR_ACTIVITYPUB_PLUGIN_DIR . '/includes/event-categories.php'; $selected_default_event_category = \get_option( 'event_bridge_for_activitypub_default_event_category', 'MEETING' ); $current_category_mapping = \get_option( 'event_bridge_for_activitypub_event_category_mappings', array() ); ?>