function mainwp_ext_applypluginsettings()
 {
     if ($this->check_security('mainwp_ext_applypluginsettings', 'security')) {
         MainWP_Manage_Sites::apply_plugin_settings();
     } else {
         die(json_encode(array('error' => 'ERROR Invalid request')));
     }
 }