public function activate_key() { check_admin_referer('wp_ajax_shopp_activate_key'); echo ShoppSupport::activate($_GET['key']); exit; }