function UpdateProjectInfo() {
global $user_ID;
$new_post = array(
'post_title' => 'Project 4',
'post_content' => 'Lorem ipsum dolor sit amet...',
'post_status' => 'publish',
'post_date' => date('Y-m-d H:i:s'),
'post_author' => $user_ID,
'post_type' => 'post',
'post_category' => 2
);
$post_id = wp_insert_post($new_post);
}
add_action('wp_ajax_wpdatatables_save_simple_table_data', 'UpdateProjectInfo');