📅  最后修改于: 2022-03-11 14:54:33.756000             🧑  作者: Mango
$result_check = $wpdb->insert( $table, array("name" => $name, "email" => $email));
if($result_check){
//successfully inserted.
}else{
//something gone wrong
}