# powerkit/2.3.5/modules/content-formatting/class-powerkit-content-formatting.php

Powerkit – Supercharge your WordPress Site, version 2.3.5. 52 lines.

- Page: https://pluginprobe.com/plugins/powerkit/2.3.5/code/modules/content-formatting/class-powerkit-content-formatting.php
- Raw: https://pluginprobe.com/plugins/powerkit/2.3.5/raw/modules/content-formatting/class-powerkit-content-formatting.php
- Modified: 2020-09-14T08:33:32+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.3.5/code/modules/content-formatting/class-powerkit-content-formatting.php#L10-L20`.

```php
<?php
/**
 * Content Formatting
 *
 * @package    Powerkit
 * @subpackage Modules
 */

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

	/**
	 * Register module
	 */
	public function register() {
		$this->name     = esc_html__( 'Content Formatting', 'powerkit' );
		$this->desc     = esc_html__( 'A few nice extra content formatting features: numbered headings, styled lists, badges, drop-caps, and content blocks.', 'powerkit' );
		$this->slug     = 'content_formatting';
		$this->type     = 'default';
		$this->category = 'content';
		$this->priority = 140;
		$this->public   = true;
		$this->enabled  = true;
		$this->links    = array(
			array(
				'name'   => esc_html__( 'View documentation', 'powerkit' ),
				'url'    => powerkit_get_setting( 'documentation' ) . '/content-presentation/content-formatting/',
				'target' => '_blank',
			),
		);
	}

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

		/* Load the required dependencies for this module */

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

		new Powerkit_Content_Formatting_Admin( $this->slug );
		new Powerkit_Content_Formatting_Public( $this->slug );
	}
}

new Powerkit_Content_Formatting();

```
