HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/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;
	}
}