# Installation

1. get sources

        git clone git@gitlab02.orcas.lan:orcas/wordpress_plugin-skeleton.git include
        
        or
        
        git submodule add --force git@gitlab02.orcas.lan:orcas/wordpress_plugin-skeleton.git include

2. in your main plugin file add in the end following line

        include_once "include/autoload.php";
        
3. load text domain to get the translations

        public function __construct() {
            add_action('plugins_loaded', array($this, 'loadTextdomain'));
        }
        
        public function loadTextdomain() {
            load_plugin_textdomain('orcas-upgrades', false, basename(dirname(__FILE__)) . '/include/languages');
        } 

3. every extension for your plugin must be included int he folder

        extension/