public function add_hook() { add_action('init', array($this, 'load_textdomain')); add_action('plugins_loaded', array($this, 'check_version')); }