📜  wordpress 自定义选择查询 - 任何代码示例

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

代码示例1
$post_id = $wpdb->get_results("SELECT post_id FROM $wpdb->postmeta WHERE (meta_key = 'mfn-post-link1' AND meta_value = '". $from ."')");
print_r($post_id);