# disco/1.4.14/engine/Base.php

Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO, version 1.4.14. 43 lines.

- Page: https://pluginprobe.com/plugins/disco/1.4.14/code/engine/Base.php
- Raw: https://pluginprobe.com/plugins/disco/1.4.14/raw/engine/Base.php
- Modified: 2026-04-23T04:35:34+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/disco/1.4.14/code/engine/Base.php#L10-L20`.

```php
<?php

/**
 * Disco
 *
 * @package   Disco
 * @author    Ohidul Islam <wahid0003@gmail.com>
 * @copyright 2022 WebAppick
 * @license   GPL 2.0+
 * @link      http://domain.tld
 */

namespace Disco\Engine;

/**
 * Base skeleton of the plugin
 */
class Base {

    /**
     * @var array The settings of the plugin.
     */
    public $settings = array();

    /**
	 * Initialize the class and get the plugin settings
	 *
	 * @return bool
	 */
	public function initialize() {
		return true;
	}

	/**
	 * Discard any output buffered above DISCO_OB_LEVEL so that debug notices
	 * from other plugins do not prefix the JSON body sent by wp_send_json_*.
	 */
	protected function clean_buffer(): void {
		OutputBuffer::clean();
	}

}

```
