# comments-plus/1.1.6/libs/factory/bootstrap/boot.php

Disable Comments &amp; Delete All Comments, version 1.1.6. 47 lines.

- Page: https://pluginprobe.com/plugins/comments-plus/1.1.6/code/libs/factory/bootstrap/boot.php
- Raw: https://pluginprobe.com/plugins/comments-plus/1.1.6/raw/libs/factory/bootstrap/boot.php
- Modified: 2023-03-23T04:47:46+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/comments-plus/1.1.6/code/libs/factory/bootstrap/boot.php#L10-L20`.

```php
<?php
/**
 * Factory Bootstrap
 *
 * @author        Alex Kovalev <alex.kovalevv@gmail.com>
 * @since         1.0.0
 * @package       factory-bootstrap
 * @copyright (c) 2018, Webcraftic Ltd
 *
 */

// Exit if accessed directly
if( !defined('ABSPATH') ) {
	exit;
}

// module provides function only for the admin area
if( !is_admin() ) {
	return;
}

if( defined('FACTORY_BOOTSTRAP_457_LOADED') ) {
	return;
}

define('FACTORY_BOOTSTRAP_457_VERSION', '4.5.7');
define('FACTORY_BOOTSTRAP_457_LOADED', true);

if( !defined('FACTORY_FLAT_ADMIN') ) {
	define('FACTORY_FLAT_ADMIN', true);
}

define('FACTORY_BOOTSTRAP_457_DIR', dirname(__FILE__));
define('FACTORY_BOOTSTRAP_457_URL', plugins_url(null, __FILE__));

require_once(FACTORY_BOOTSTRAP_457_DIR . '/includes/functions.php');

/**
 * @param Wbcr_Factory456_Plugin $plugin
 */
add_action('wbcr_factory_bootstrap_457_plugin_created', function ($plugin) {
	$manager = new Wbcr_FactoryBootstrap457_Manager($plugin);
	$plugin->setBootstap($manager);
});



```
