Skip to content

Instantly share code, notes, and snippets.

@propertyhive
Created September 1, 2021 09:35
Show Gist options
  • Save propertyhive/d55b00db3995658f8ac5d034ac33562d to your computer and use it in GitHub Desktop.
Save propertyhive/d55b00db3995658f8ac5d034ac33562d to your computer and use it in GitHub Desktop.
Add custom marker icon
add_action( 'propertyhive_property_map_marker_options', 'add_marker_icon' );
function add_marker_icon()
{
?>
marker_options.icon = 'URL HERE';
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment