Author: cemalib

cemalib

 Member Since August 2016

Projects

Sunset Hill Natural Pla...

Porter County Parks is working to build a natural playground at Sunset Hill Farm County Park. This playground ...

  • 74%funded
  • $100,000 target
  • 19 days to go
Sunset Hill Natural Pla...

Porter County Parks is working to build a natural playground at Sunset Hill Farm County Park. This playground ...

Unsuccessful!
  • 0%funded
  • $125,000 target
Create an Account to Start a Campaign

//$errors = register_new_user($_POST['user_login'], $_POST['user_email']);
$errors = wp_create_user( $_POST['user_login'], $_POST['user_password'], $_POST['user_email'] );
if (!is_wp_error($errors)) {
//Success
$return['result'] = true;
$return['redirect']=home_url().'/launch-project/';
$return['message'] = esc_html__('Registration complete.', 'funding');
} else {
//Something's wrong
$return['result'] = false;
$return['error'] = $errors -> get_error_message();
}
}
echo $this -> json_encode($return);
exit();
}
}

×