HEX
Server: Apache
System: Linux ecngx285.inmotionhosting.com 4.18.0-553.79.1.lve.el8.x86_64 #1 SMP Wed Oct 15 17:59:35 UTC 2025 x86_64
User: zeusxp5 (3862)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /home/zeusxp5/zenoxpressjobs.com/find-a-job.htm/wp-content/plugins/shopengine/base/common.php
<?php

namespace ShopEngine\Base;

defined('ABSPATH') || exit;

/**
 * Common abstract Class.
 * Get common plugin information for name, title, dir, base, url etc
 *
 * @since 1.0.0
 */
abstract class Common {

	public function get_name() {
		return null;
	}


	public function get_title() {
		return $this->get_name();
	}


	public function get_dir() {
		return dirname(__FILE__);
	}


	public function get_base() {
		return str_replace(\ShopEngine::plugin_dir(), '', $this->get_dir());

		return $this->get_dir();
	}


	public function get_url() {
		return \ShopEngine::plugin_url() . $this->get_base();
	}


	abstract public function init();

}