simple-location/options.php

18 lines
335 B
PHP

<div class="wrap"
<?php screen_icon(); ?>
<h2>Simple Location Options</h2>
<form method="post" action="options.php">
<?php
settings_fields( 'simple-location-options' );
?>
Google API Key: <input id="gapi-key" name="gapi-key" type="text" value="<?php print get_option('gapi-key'); ?>" />
<?php submit_button(); ?>
</form>
</div>