- New: If map should show on listings pages, show on regions pages too
- New: Use extra atts in the locations array to customize markers
Example:add_filter( 'wpbdp_googlemaps_map_locations', 'function_here' ); function function_here( $locations ) { foreach ( $locations as $k => $l ) { $locations[ $k ]['icon'] = 'https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png'; } return $locations; }
- Fix: Added support for PHP 8