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

/**
 * Register Testimonial 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_Testimonial_CPT extends Sifency_CPT_Factory_Base {
	protected $post_type         = 'testimonial';
	protected $singular_name     = 'Testimonial';
	protected $plural_name       = 'Testimonials';
	protected $option_slug_key   = 'testimonial_slug';
	protected $default_slug      = 'testimonial';
	protected $menu_icon         = 'dashicons-testimonial';
	protected $taxonomy_name     = 'testimonial_category';
	protected $taxonomy_singular = 'Testimonial Category';
	protected $taxonomy_plural   = 'Testimonial Categories';
	protected $supports          = array( 'title', 'thumbnail', 'excerpt' );
}

new Sifency_Addons_Register_Testimonial_CPT();
