Last active
September 3, 2018 15:45
-
-
Save mustardBees/11d42baed64d85cd8e40a4bbde6a4999 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 | |
$cmb->add_field( array( | |
'name' => 'Location', | |
'desc' => 'Drag the marker to set the exact location', | |
'id' => $prefix . 'location', | |
'type' => 'pw_map', | |
// 'split_values' => true, // Save latitude and longitude as two separate fields | |
// 'api_key' => 'KEY', // Google API Key | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment