# powerkit/2.4.4/core/class-powerkit-module-admin.php

Powerkit – Supercharge your WordPress Site, version 2.4.4. 65 lines.

- Page: https://pluginprobe.com/plugins/powerkit/2.4.4/code/core/class-powerkit-module-admin.php
- Raw: https://pluginprobe.com/plugins/powerkit/2.4.4/raw/core/class-powerkit-module-admin.php
- Modified: 2020-12-30T06:28:26+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/powerkit/2.4.4/code/core/class-powerkit-module-admin.php#L10-L20`.

```php
<?php
/**
 * Module admin carcase
 *
 * @package    Powerkit
 * @subpackage Core
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Module admin class.
 */
class Powerkit_Module_Admin {

	/**
	 * The module slug.
	 *
	 * @var string $slug The module slug.
	 */
	public $slug = null;

	/**
	 * __construct
	 *
	 * This function will initialize the initialize
	 *
	 * @param string $slug The module slug.
	 */
	public function __construct( $slug = null ) {

		// Init slug of module.
		$this->slug = $slug;

		// Initialize.
		$this->initialize();

		// Actions.
		add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
	}

	/**
	 * Initialize
	 *
	 * This function will initialize the module
	 */
	public function initialize() {

		/* do nothing */
	}

	/**
	 * Load the required dependencies for this module.
	 *
	 * @param string $page Current page.
	 */
	public function admin_enqueue_scripts( $page ) {

		/* do nothing */
	}
}

```
