Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $options = array(
- 'post_type' => $post_type,
- 'posts_per_page' => $posts_per_page,
- 'order_by' => $order_by,
- 'order' => $order,
- 'meta_query' => array(
- array(
- 'key' => 'property_detail',
- 'value' => array ( 'property_guests'),
- 'compare' => 'IN',
- )
- ),
- );
- Array
- (
- [property_guests] => 5
- [property_bedrooms] => 5
- [property_bedrooms_king] => 1
- [property_bedrooms_queen] => 1
- [property_bedrooms_twin] => 1
- [property_bedrooms_single] => 2
- [property_bathrooms] => 1
- [property_size] => 500
- )
Add Comment
Please, Sign In to add comment