function mainwp_unignoreabandonedpluginsthemes() { $this->secure_request(); if (!isset($_POST['slug'])) { die(json_encode(array('error' => 'Invalid request'))); } die(json_encode(array('result' => MainWPRightNow::unIgnoreAbandonedPluginsThemes($_POST['type'], $_POST['slug'])))); }