<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Register Event CPT and Taxonomy with Dynamic Slug
 *
 * This class now extends the reusable CPT Factory Base,
 * reducing code duplication across all CPT registration classes.
 */
final class Sifency_Addons_Register_Event_CPT extends Sifency_CPT_Factory_Base {
	protected $post_type         = 'event';
	protected $singular_name     = 'Event';
	protected $plural_name       = 'Events';
	protected $option_slug_key   = 'event_slug';
	protected $default_slug      = 'event';
	protected $menu_icon         = 'dashicons-megaphone';
	protected $taxonomy_name     = 'event_category';
	protected $taxonomy_singular = 'Event Category';
	protected $taxonomy_plural   = 'Event Categories';
}

new Sifency_Addons_Register_Event_CPT();
