public static function get_instance() { if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }
private function __construct() { // Get pub instance of plugin $plugin = BoilerPlatePub::get_instance(); $this->plugin_slug = $plugin->get_plugin_slug(); $this->fs = $this->_init_filesystem(); $this->_register_actions(); $this->_register_filters(); }