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


/**
 * Register Digital 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_Digital_CPT extends Sifency_CPT_Factory_Base {
	protected $post_type         = 'digital';
	protected $singular_name     = 'Digital Good';
	protected $plural_name       = 'Digital Goods';
	protected $option_slug_key   = 'digital_slug';
	protected $default_slug      = 'digital';
	protected $menu_icon         = 'dashicons-media-archive';
	protected $taxonomy_name     = 'digital_category';
	protected $taxonomy_singular = 'Digital Category';
	protected $taxonomy_plural   = 'Digital Categories';
}

new Sifency_Addons_Register_Digital_CPT();
