# css-javascript-toolbox/12.0.3/access.points/manage.accesspoint.php

CSS &amp; JavaScript Toolbox, version 12.0.3. 58 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.3/code/access.points/manage.accesspoint.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/12.0.3/raw/access.points/manage.accesspoint.php
- Modified: 2025-06-24T15:16:12+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/css-javascript-toolbox/12.0.3/code/access.points/manage.accesspoint.php#L10-L20`.

```php
<?php
/**
*
*/

// Disallow direct access.
defined('ABSPATH') or die("Access denied");

/**
*
*/
class CJTManageAccessPoint extends CJTPageAccessPoint {

	/**
	* put your comment there...
	*
	*/
	public function __construct() {
		// Initialize Access Point base!
		parent::__construct();
		// Set access point name!
		$this->name = 'manage';
	}

	/**
	* put your comment there...
	*
	*/
	protected function doListen() {
		// Only if permitted!
		if ($this->hasAccess()) {
			// Add menu page.
			add_action('admin_menu', array(&$this, 'menu'));
		}
	}

	/**
	* put your comment there...
	*
	*/
	public function menu() {
		// Blocks Manager page! The only Wordpress menu item we've.
		$pageHookId= add_menu_page(
			cssJSToolbox::getText('CSS & JavaScript Toolbox'),
			cssJSToolbox::getText('CSS & JavaScript Toolbox'),
			'administrator',
			CJTPlugin::PLUGIN_REQUEST_ID,
			array(&$this->controller, '_doAction'),
			CJTOOLBOX_VIEWS_URL . '/blocks/manager/public/images/menu.svg'
		);
		// Process request if installed!
		add_action("load-{$pageHookId}", array($this, 'getPage'));
	}

} // End class.

// Hookable!
CJTManageAccessPoint::define('CJTManageAccessPoint', array('hookType' => CJTWordpressEvents::HOOK_FILTER));
```
