HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: /var/www/wp-content/plugins/ocean-extra/includes/themepanel/views/panes/integration-google-maps.php
<?php
$google_maps_settings = Ocean_Extra_New_Theme_Panel::get_google_maps_settings();
?>

<div id="ocean-google-maps-control" class="column-wrap clr">
	<form class="integration-settings" data-settings-for="google_maps">
		<table class="form-table">
			<tbody>
				<tr id="owp_google_map_api_tr">
					<th scope="row">
						<label for="owp_google_map_api"><?php esc_html_e( 'API Key', 'ocean-extra' ); ?></label>
					</th>
					<td>
						<input name="owp_integrations[google_map_api]" type="text" id="owp_google_map_api" value="<?php echo esc_attr( $google_maps_settings['google_map_api'] ); ?>" class="regular-text">
						<p class="description"><?php echo sprintf(
							esc_html__( 'To integrate with our google map widget you need an %1$sAPI Key%2$s', 'ocean-extra' ),
							'<a href="https://docs.oceanwp.org/article/537-get-your-google-map-api-key" target="_blank">', '</a>'
							); ?></p>
					</td>
				</tr>
			</tbody>
		</table>
		<?php submit_button(); ?>
	</form>
</div>