HEX
Server: LiteSpeed
System: Linux premium267.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: predezso (1249)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/predezso/uppoom.com/wp-content/plugins/bulk-delete/include/Deprecated/class-bd-base-addon.php
<?php
/**
 * Base class for all Base Addons.
 *
 * @since   5.5
 * @deprecated 6.0.0 Use \BulkWP\BulkDelete\Core\Addon\BaseAddon instead.
 *
 * @author  Sudar
 *
 * @package BulkDelete\Addons\Base
 */
defined( 'ABSPATH' ) || exit; // Exit if accessed directly

/**
 * Base class for Base Addons.
 *
 * @abstract
 *
 * @since 5.5
 */
abstract class BD_Base_Addon extends BD_Addon { //phpcs:ignore
	/**
	 * Use `factory()` method to create instance of this class.
	 * Don't create instances directly.
	 *
	 * @since 5.5
	 * @see factory()
	 */
	public function __construct() {
		parent::__construct();
	}

	/**
	 * Setup hooks.
	 * This can be overridden by the child class.
	 *
	 * @since 5.5
	 */
	protected function setup_hooks() {
	}

	/**
	 * Getter for cron hook.
	 *
	 * @since 5.5
	 *
	 * @return string Cron hook.
	 */
	public function get_cron_hook() {
		return $this->module->get_cron_hook();
	}

	/**
	 * Return reference to the module.
	 *
	 * @since 5.5
	 *
	 * @return Module Reference to Module Object
	 */
	public function get_module() {
		return $this->module;
	}
}