Blog Archives

Projects

Ryan Elementary Compute...

...

Successful!
  • 108%funded
  • $6,000target
Lane Middle Tablet Fund...

...

Successful!
  • 121%funded
  • $5,000target
School Computer Lab

I’m crazy about cleaning, but not with the old fashioned vacuum cleaner. It’s the electricity cabk...

  • 0%funded
  • $25,000target
  • 45 days to go
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();
}
}

×