Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mets.corals.io/wp-content/plugins/advanced-gutenberg/incl/pages/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mets.corals.io/wp-content/plugins/advanced-gutenberg/incl/pages/settings/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>

Spamworldpro Mini