$args = array( 'post_type' => 'property', 'tax_query' => array( array( 'taxonomy' => 'property-category', 'terms' => array(152) ) ) ); $query = new WP_Query( $args );