📜  访问 woocommerce 表数据但如何访问 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:20.096000             🧑  作者: Mango

代码示例1
insert($wpdb->usermeta, array("user_id" => 1, "meta_key" => "awesome_factor", "meta_value" => 10), array("%d", %s", "%d"));

   // Equivalent to:
   // INSERT INTO wp_usermeta (user_id, meta_key, meta_value) VALUES (1, "awesome_factor", 10);
?>