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

/**
 * Register Doc CPT and Taxonomy (Dynamic Slug)
 *
 * This class now extends the reusable CPT Factory Base,
 * reducing code duplication across all CPT registration classes.
 */
final class Sifency_Addons_Register_Doc_CPT extends Sifency_CPT_Factory_Base {
	protected $post_type         = 'doc';
	protected $singular_name     = 'Doc';
	protected $plural_name       = 'Docs';
	protected $option_slug_key   = 'doc_slug';
	protected $default_slug      = 'doc';
	protected $menu_icon         = 'dashicons-book-alt';
	protected $taxonomy_name     = 'doc_category';
	protected $taxonomy_singular = 'Doc Category';
	protected $taxonomy_plural   = 'Doc Categories';
}

new Sifency_Addons_Register_Doc_CPT();
