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

/**
 * Register Portfolio 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_Portfolio_CPT extends Sifency_CPT_Factory_Base {
	protected $post_type         = 'portfolio';
	protected $singular_name     = 'Portfolio';
	protected $plural_name       = 'Portfolio';
	protected $option_slug_key   = 'portfolio_slug';
	protected $default_slug      = 'portfolio';
	protected $menu_icon         = 'dashicons-portfolio';
	protected $taxonomy_name     = 'portfolio_category';
	protected $taxonomy_singular = 'Portfolio Category';
	protected $taxonomy_plural   = 'Portfolio Categories';
}

new Sifency_Addons_Register_Portfolio_CPT();
