HEX
Server: Apache
System: Linux webm020.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: bohousj (181416)
PHP: 8.4.22
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/b/o/h/bohousj/www/wp-content/plugins/metform/base/common.php
<?php
namespace MetForm\Base;

defined('ABSPATH') || exit;

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(\MetForm\Plugin::instance()->plugin_dir(), '', $this->get_dir());

		return $this->get_dir();
	}


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


	public abstract function init();

}