HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/plugins/raven/includes/modules/posts/classes/action-base.php
<?php
/**
 * Add Action Base.
 *
 * @package Raven
 * @since 1.0.0
 */

namespace Raven\Modules\Posts\Classes;

defined( 'ABSPATH' ) || die();

/**
 * Action Base.
 *
 * An abstract class for registering action.
 *
 * @since 1.0.0
 * @abstract
 */
abstract class Action_Base {

	/**
	 * Holds the Skin class instance.
	 *
	 * Please see: Skin_Base class.
	 *
	 * @var object
	 */
	protected $skin = null;

	/**
	 * Detects active state.
	 *
	 * Use to detect the state of this class.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public static function is_active() {
		return true;
	}

	/**
	 * Action base constructor.
	 *
	 * Initializing the action base class by hooking in widgets controls.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public function __construct() {
		$this->register_action_hooks();
	}

	/**
	 * Run action hooks.
	 *
	 * Use to register action hooks.
	 *
	 * @since 1.0.0
	 * @access protected
	 */
	protected function register_action_hooks() {}
}