# tier-pricing-table/6.1.0/src/Settings/Sections/SectionAbstract.php

Tiered Pricing Table for WooCommerce, version 6.1.0. 35 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.1.0/code/src/Settings/Sections/SectionAbstract.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.1.0/raw/src/Settings/Sections/SectionAbstract.php
- Modified: 2026-05-18T09:27:18+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/6.1.0/code/src/Settings/Sections/SectionAbstract.php#L10-L20`.

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

use TierPricingTable\Settings\Settings;

abstract class SectionAbstract {
	
	abstract public function getName();
	
	abstract public function getSlug();
	
	abstract public function getSettings();
	
	public function getSectionCSS(): string {
		return '';
	}
	
	public function isActive(): bool {
		
		if ( isset( $_GET['section'] ) ) {
			return $_GET['section'] === $this->getSlug();
		} else {
			return $this->getSlug() === Settings::DEFAULT_SECTION;
		}
	}
	
	public function getURL(): string {
		return add_query_arg( array( 'section' => $this->getSlug() ) );
	}
	
	public function isIntegration(): bool {
		return false;
	}
	
}

```
