Filter Listings on Map Page (Template)
<?php
/**
* Filter Listings on Map Page (Template)
*/
add_filter( 'wpsight_map_query_args', 'custom_map_query_args' );
function custom_map_query_args( $args ) {
$args = array(
'tax_query' => array(
array(
'taxonomy' => 'property-category', // define taxonomy name
'terms' => '63' // define ID to retrieve from
)
)
);
return $args;
}