# tier-pricing-table/6.4.0/src/Admin/WelcomePage/WelcomePage.php

Tiered Pricing Table for WooCommerce, version 6.4.0. 28 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/code/src/Admin/WelcomePage/WelcomePage.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/raw/src/Admin/WelcomePage/WelcomePage.php
- Modified: 2025-08-12T14:14:14+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.4.0/code/src/Admin/WelcomePage/WelcomePage.php#L10-L20`.

```php
<?php namespace TierPricingTable\Admin\WelcomePage;

use TierPricingTable\Core\ServiceContainerTrait;

class WelcomePage {
	
	use ServiceContainerTrait;
	
	const PAGE_SLUG = 'tiered-pricing-table-welcome';
	
	public function __construct() {
		
		add_action( 'admin_menu', function () {
			add_submenu_page( '__none__', __( 'Welcome to Tiered Pricing for WooCommerce!', 'tier-pricing-table' ),
				__( 'Hidden Admin Page', 'tier-pricing-table' ), 'manage_options', self::PAGE_SLUG,
				array( $this, 'render' ), 99 );
		} );
	}
	
	public function render() {
		$this->getContainer()->getFileManager()->includeTemplate( 'admin/welcome-page/welcome-page.php' );
	}
	
	public static function getURL(): string {
		return admin_url( 'admin.php?page=' . self::PAGE_SLUG );
	}
}

```
