WordPress
- 1 ответ
- 0 вопросов
1
Вклад в тег
global $wpdb;
$connections = $wpdb->get_col("SELECT meta_value FROM $wpdb->postmeta WHERE meta_key='connections'");
$formatted_conns = array(10,23,50,47);
$query = new WP_Query(array(
...
'post__not_in' => $formatted_conns,
...
));