Blog Archives

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,000target
  • 137 days to go
PC 61 After School Prog...

...

  • 4%funded
  • $12,000target
  • 116 days to go
Anna Rose Elementary PT...

...

Unsuccessful!
  • 13%funded
  • $3,000target
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();
}
}

×