Uname: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Software: Apache
PHP version: 5.4.45 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.91.62
Your Ip: 216.73.216.52
User: matthif (139342) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : maps.php
<?php

defined( 'ABSPATH' ) || die;

$google_api_key_saved = $this->getOptionSetting( 'advgb_settings', 'google_api_key', 'text', '' );
?>
<form method="post">
	<?php
	wp_nonce_field( 'advgb_settings_maps_nonce', 'advgb_settings_maps_nonce_field' ) ?>
    <table class="form-table">

        <tr>
            <th scope="row">
				<?php
				_e( 'Google API key', 'advanced-gutenberg' ) ?>
            </th>
            <td>
                <label>
                    <input type="text"
                           name="google_api_key"
                           id="google_api_key"
                           class="regular-text"
                           value="<?php
					       echo esc_attr( $google_api_key_saved ) ?>"
                    />
                </label>
                <p class="description">
                    <a target="_blank"
                       href="https://developers.google.com/maps/documentation/javascript/get-api-key">
						<?php
						esc_html_e(
							'How to create a Google API Key',
							'advanced-gutenberg'
						)
						?>
                    </a><br/>
					<?php
					_e(
						'A Google API key is required to use the Map block without any warning.',
						'advanced-gutenberg'
					);
					?>
                </p>
            </td>
        </tr>
    </table>

    <div class="advgb-form-buttons-bottom">
        <button type="submit"
                class="button button-primary"
                name="save_settings_maps"
        >
			<?php
			esc_html_e( 'Save Maps Settings', 'advanced-gutenberg' ) ?>
        </button>
    </div>
</form>
© 2026 XylotrechusZ