Blog Archives

Projects

School Jazz!

...

Unsuccessful!
  • 59%funded
  • $60,000target
Robins High School Band

...

Unsuccessful!
  • 43%funded
  • $700target
Jones Co FFA

...

Unsuccessful!
  • 56%funded
  • $35,800target
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();
}
}

×