# tier-pricing-table/7.1.1/src/Settings/Sections/GeneralSection/Subsections/HiddenOptionsSubsection.php

Tiered Pricing Table for WooCommerce, version 7.1.1. 47 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/7.1.1/code/src/Settings/Sections/GeneralSection/Subsections/HiddenOptionsSubsection.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/7.1.1/raw/src/Settings/Sections/GeneralSection/Subsections/HiddenOptionsSubsection.php
- Modified: 2023-11-06T14:03:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tier-pricing-table/7.1.1/code/src/Settings/Sections/GeneralSection/Subsections/HiddenOptionsSubsection.php#L10-L20`.

```php
<?php namespace TierPricingTable\Settings\Sections\GeneralSection\Subsections;

use TierPricingTable\Settings\Sections\SubsectionAbstract;
use TierPricingTable\Settings\Settings;

class HiddenOptionsSubsection extends SubsectionAbstract {
	
	public function getTitle(): string {
		return '';
	}
	
	public function getDescription(): string {
		return 'hidden_options';
	}
	
	public function getSlug(): string {
		return 'hidden_options';
	}
	
	protected function getCustomAttributes() {
		return array(
			'tpt_hidden_option' => 'tpt_hidden_option',
		);
	}
	
	public function getSettings(): array {
		return array(
			// Hidden fields
			array(
				'id'        => Settings::SETTINGS_PREFIX . 'head_quantity_text',
				'row_class' => 'tpt_hidden_option',
				'type'      => 'text',
			),
			array(
				'id'        => Settings::SETTINGS_PREFIX . 'head_price_text',
				'row_class' => 'tpt_hidden_option',
				'type'      => 'text',
			),
			array(
				'id'        => Settings::SETTINGS_PREFIX . 'head_discount_text',
				'row_class' => 'tpt_hidden_option',
				'type'      => 'text',
			),
		);
	}
}

```
