<?php
/**
 * WordPress category module registration.
 *
 * @package ScheduledChanges
 */

namespace ScheduledChanges\Taxonomy;

/**
 * Contributes the built-in post category taxonomy independently.
 */
final class WordPressCategoryModule {
	public const MODULE_ID = 'scheduled-changes-categories';

	/** Returns the built-in post category registration. */
	public function registration(): TaxonomyRegistration {
		return new TaxonomyRegistration( 'wordpress-categories', 'wordpress-core', 'category', array( 'post' ), 'Categories', 'assign_categories', true );
	}
}
