File: /storage/v6964/testingff/public_html/fdfctr/wp-content/plugins/wp-event-solution/base/common.php
<?php
namespace Etn\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( \Wpeventin::plugin_dir() , '', $this->get_dir() );
}
public function get_url() {
return \Wpeventin::plugin_url() . $this->get_base();
}
public abstract function init();
}