public function plugin_init()
 {
     parent::plugin_init();
     add_action('ure_settings_update1', array($this, 'settings_update1'));
     add_action('ure_settings_update2', array($this, 'settings_update2'));
     add_action('ure_settings_show1', array($this, 'settings_show1'));
     add_action('ure_settings_show2', array($this, 'settings_show2'));
     if ($this->lib->multisite) {
         add_action('ure_settings_ms_show', array($this, 'settings_ms_show'));
         add_action('ure_settings_ms_update', array($this, 'settings_ms_update'));
     }
     add_action('ure_load_js', array($this, 'add_js'));
     if ($this->lib->multisite && is_network_admin()) {
         if (!$this->lib->active_for_network) {
             add_filter('network_admin_plugin_action_links_' . URE_PLUGIN_BASE_NAME, array($this, 'network_admin_plugin_action_links'), 10, 1);
         }
         add_action('ms_user_row_actions', array($this, 'user_row'), 10, 2);
         add_action('ure_role_edit_toolbar_update', array($this, 'add_role_update_network_button'));
         add_action('ure_user_edit_toolbar_update', array($this, 'add_user_update_network_button'));
         add_action('ure_dialogs_html', array(&$this, 'network_update_dialog_html'));
     }
     if (!$this->lib->multisite) {
         $count_users_without_role = $this->lib->get_option('count_users_without_role', 0);
         if ($count_users_without_role) {
             add_action(URE_Assign_Role_Pro::CRON_ACTION_HOOK, array($this, 'assign_role_to_users_without_role'));
         }
     }
     $this->screen_help = new URE_Screen_Help_Pro();
 }
 public function plugin_init()
 {
     parent::plugin_init();
     add_action('ure_settings_update1', array($this, 'settings_update1'));
     add_action('ure_settings_update2', array($this, 'settings_update2'));
     add_action('ure_settings_show1', array($this, 'settings_show1'));
     add_action('ure_settings_show2', array($this, 'settings_show2'));
     if ($this->lib->multisite) {
         add_action('ure_settings_ms_show', array($this, 'settings_ms_show'));
         add_action('ure_settings_ms_update', array($this, 'settings_ms_update'));
     }
     add_action('ure_load_js', array($this, 'add_js'));
     if ($this->lib->multisite && is_network_admin()) {
         add_action('ms_user_row_actions', array($this, 'user_row'), 10, 2);
         add_action('ure_role_edit_toolbar_update', array($this, 'add_role_update_network_button'));
         add_action('ure_user_edit_toolbar_update', array($this, 'add_user_update_network_button'));
     }
     $this->screen_help = new URE_Screen_Help_Pro();
 }
 public function plugin_init()
 {
     parent::plugin_init();
     add_action('ure_settings_update1', array($this, 'settings_update1'));
     add_action('ure_settings_update2', array($this, 'settings_update2'));
     add_action('ure_settings_show1', array($this, 'settings_show1'));
     add_action('ure_settings_show2', array($this, 'settings_show2'));
     if ($this->lib->multisite) {
         add_action('ure_settings_ms_show', array($this, 'settings_ms_show'));
         add_action('ure_settings_ms_update', array($this, 'settings_ms_update'));
     }
     add_action('ure_load_js', array($this, 'add_js'));
     if ($this->lib->multisite && is_network_admin()) {
         if (!$this->lib->active_for_network) {
             add_filter('network_admin_plugin_action_links_' . URE_PLUGIN_BASE_NAME, array($this, 'network_admin_plugin_action_links'), 10, 1);
         }
         add_action('ms_user_row_actions', array($this, 'user_row'), 10, 2);
         add_action('ure_role_edit_toolbar_update', array($this, 'add_role_update_network_button'));
         add_action('ure_user_edit_toolbar_update', array($this, 'add_user_update_network_button'));
     }
     $this->screen_help = new URE_Screen_Help_Pro();
 }