Created
April 14, 2018 17:55
-
-
Save hawkidoki/42019d60b6947a213031da3f49857f8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('hwk/acf/google_map/icons', 'hwk_acf_google_map_icons'); | |
function hwk_acf_google_map_icons($icons){ | |
$icons[] = get_template_directory_uri() . '/assets/markers/1.svg'; | |
$icons[] = get_template_directory_uri() . '/assets/markers/2.svg'; | |
$icons[] = get_template_directory_uri() . '/assets/markers/3.svg'; | |
$icons[] = get_template_directory_uri() . '/assets/markers/4.svg'; | |
$icons[] = get_template_directory_uri() . '/assets/markers/5.svg'; | |
return $icons; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment