bh_sl_locations_query_args
Description
Filter the arguments of the main locations WP_Query to update or override the properties.
Parameters
Name | Type | Description |
---|---|---|
$args | array | The full array of all the WP_Query arguments |
Example
The following example changes changes the posts_per_page property for the primary locations query. Note that you will need to clear the bh_sl_locations transient if not using the Over 1,000 locations setting. That can be done by saving the plugin’s Primary Settings or there are other methods such as a plugin.