Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Filter By Custom Field
<?php
$args = array(
'meta_query' => array(
array(
'key' => 'fields.type',
'value' => 'bnb',
'compare' => '=',
)
)
)
foreach ( $zone->incoming_hotels( $args ) as $hotel ) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment