/**
  * Register all the hooks common with both public and admin facing
  * functionality of the plugin
  *
  * @access   private
  */
 public function define_global_hooks()
 {
     $this->loader->add_filter('login_redirect', $this, 'after_login_redirect', 10, 3);
     $this->loader->add_filter('register_url', $this, 'rm_register_redirect');
     $this->loader->add_action('wp_login', $this, 'prevent_deactivated_logins');
     $this->loader->add_filter('login_message', $this, 'login_notice');
     $this->loader->add_action('wpmu_new_blog', 'RM_Table_Tech', 'on_create_blog');
     $this->loader->add_filter('wpmu_drop_tables', 'RM_Table_Tech', 'on_delete_blog');
     $this->loader->add_filter('plugins_loaded', $this, 'on_upgrade_migrate');
 }