Location data structure filter

bh_sl_location_data_structure

Description

Filter the location data structure mapping of WordPress data to what the JavaScript reads. For example, this can be useful if a custom post type is being used and an alternative taxonomy for Location Categories is in use – the JS expects a taxonomy name of bh_sl_loc_cat.

Parameters

NameTypeDescription
$location_structurearrayThe mapping structure of WordPress data to the JavaScript file.

Example