# powerkit/2.4.4/modules/basic-elements/class-powerkit-basic-elements.php

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

- Page: https://pluginprobe.com/plugins/powerkit/2.4.4/code/modules/basic-elements/class-powerkit-basic-elements.php
- Raw: https://pluginprobe.com/plugins/powerkit/2.4.4/raw/modules/basic-elements/class-powerkit-basic-elements.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/modules/basic-elements/class-powerkit-basic-elements.php#L10-L20`.

```php
<?php
/**
 * Basic Elements
 *
 * @package    Powerkit
 * @subpackage Modules
 */

/**
 * Init module
 */
class Powerkit_Basic_Elements extends Powerkit_Module {

	/**
	 * Register module
	 */
	public function register() {
		$this->name     = esc_html__( 'Basic Elements', 'powerkit' );
		$this->desc     = esc_html__( 'Basic shortcodes with a shortcode generator right in the WordPress editor.', 'powerkit' );
		$this->slug     = 'basic_elements';
		$this->type     = 'default';
		$this->category = 'basic';
		$this->priority = 80;
		$this->public   = true;
		$this->enabled  = true;

		$this->links = array(
			array(
				'name'   => esc_html__( 'View documentation', 'powerkit' ),
				'url'    => powerkit_get_setting( 'documentation' ) . '/content-presentation/basic-elements/',
				'target' => '_blank',
			),
		);
	}

	/**
	 * Initialize module
	 */
	public function initialize() {

		/* Load the required dependencies for this module */

		// Helpers Functions for the module.
		require_once dirname( __FILE__ ) . '/helpers/helper-basic-elements.php';

		// Admin and public area.
		require_once dirname( __FILE__ ) . '/admin/class-powerkit-basic-elements-admin.php';
		require_once dirname( __FILE__ ) . '/public/class-powerkit-basic-elements-public.php';

		// Include default templates.
		powerkit_basic_shortcodes_autoload( dirname( __FILE__ ) . '/templates' );

		new Powerkit_Basic_Elements_Admin( $this->slug );
		new Powerkit_Basic_Elements_Public( $this->slug );
	}
}

new Powerkit_Basic_Elements();

```
