/**
  * Register initial router
  */
 public function router()
 {
     if (isset($_POST['options']['action']) && ($action = $_POST['options']['action'])) {
         switch ($action) {
             case 'export':
                 if (current_user_can('export')) {
                     Ai1wm_Export_Controller::export();
                 }
                 break;
             case 'staging':
                 break;
             case 'production':
                 break;
         }
     }
 }
 /**
  * Register initial router
  */
 public function router()
 {
     if (isset($_POST['options']['action']) && ($action = $_POST['options']['action'])) {
         switch ($action) {
             case 'export':
                 Ai1wm_Export_Controller::export();
                 break;
             case 'staging':
                 Ai1wm_Staging_Controller::deploy();
                 break;
             case 'production':
                 Ai1wm_Production_Controller::deploy();
                 break;
         }
     }
 }