	register_taxonomy(
		'{{slug}}',
		array( {{post_types}} ),
		array(
			'hierarchical'          => false,
			'public'                => true,
			'show_in_nav_menus'     => true,
			'show_ui'               => true,
			'show_admin_column'     => false,
			'query_var'             => true,
			'rewrite'               => true,
			'capabilities'          => array(
				'manage_terms' => 'edit_posts',
				'edit_terms'   => 'edit_posts',
				'delete_terms' => 'edit_posts',
				'assign_terms' => 'edit_posts',
			),
			'labels'                => array(
				'name'                       => __( '{{label_plural_ucfirst}}', '{{textdomain}}' ),
				'singular_name'              => _x( '{{label_ucfirst}}', 'taxonomy general name', '{{textdomain}}' ),
				'search_items'               => __( 'Search {{label_plural_ucfirst}}', '{{textdomain}}' ),
				'popular_items'              => __( 'Popular {{label_plural_ucfirst}}', '{{textdomain}}' ),
				'all_items'                  => __( 'All {{label_plural_ucfirst}}', '{{textdomain}}' ),
				'parent_item'                => __( 'Parent {{label_ucfirst}}', '{{textdomain}}' ),
				'parent_item_colon'          => __( 'Parent {{label_ucfirst}}:', '{{textdomain}}' ),
				'edit_item'                  => __( 'Edit {{label_ucfirst}}', '{{textdomain}}' ),
				'update_item'                => __( 'Update {{label_ucfirst}}', '{{textdomain}}' ),
				'view_item'                  => __( 'View {{label_ucfirst}}', '{{textdomain}}' ),
				'add_new_item'               => __( 'Add New {{label_ucfirst}}', '{{textdomain}}' ),
				'new_item_name'              => __( 'New {{label_ucfirst}}', '{{textdomain}}' ),
				'separate_items_with_commas' => __( 'Separate {{label_plural}} with commas', '{{textdomain}}' ),
				'add_or_remove_items'        => __( 'Add or remove {{label_plural}}', '{{textdomain}}' ),
				'choose_from_most_used'      => __( 'Choose from the most used {{label_plural}}', '{{textdomain}}' ),
				'not_found'                  => __( 'No {{label_plural}} found.', '{{textdomain}}' ),
				'no_terms'                   => __( 'No {{label_plural}}', '{{textdomain}}' ),
				'menu_name'                  => __( '{{label_plural_ucfirst}}', '{{textdomain}}' ),
				'items_list_navigation'      => __( '{{label_plural_ucfirst}} list navigation', '{{textdomain}}' ),
				'items_list'                 => __( '{{label_plural_ucfirst}} list', '{{textdomain}}' ),
				'most_used'                  => _x( 'Most Used', '{{slug}}', '{{textdomain}}' ),
				'back_to_items'              => __( '&larr; Back to {{label_plural_ucfirst}}', '{{textdomain}}' ),
			),
			'show_in_rest'          => true,
			'rest_base'             => '{{slug}}',
			'rest_controller_class' => 'WP_REST_Terms_Controller',
		)
	);
