# cbxgooglemap/2.0.1/templates/admin/metabox_shortcode.php

CBX Map for Google Map &amp; OpenStreetMap, version 2.0.1. 21 lines.

- Page: https://pluginprobe.com/plugins/cbxgooglemap/2.0.1/code/templates/admin/metabox_shortcode.php
- Raw: https://pluginprobe.com/plugins/cbxgooglemap/2.0.1/raw/templates/admin/metabox_shortcode.php
- Modified: 2025-09-09T18:56:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cbxgooglemap/2.0.1/code/templates/admin/metabox_shortcode.php#L10-L20`.

```php
<?php
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Provide a admin area view for the plugin
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 *
 * @link       http://codeboxr.com
 * @since      1.0.0
 *
 * @package    cbxgooglemap
 * @subpackage cbxgooglemap/templates/admin
 */

echo '<div class="cbxshortcode-wrap">';
echo '<span data-clipboard-text=\'[cbxgooglemap id="' . absint( $post_id ) . '"]\' title="' . esc_html__( 'Click to clipboard', 'cbxgooglemap' ) . '" id="cbxgooglemapshortcode-' . absint( $post_id ) . '" class="cbxshortcode cbxshortcode-edit cbxshortcode-' . absint( $post_id ) . '">[cbxgooglemap id="' . absint( $post_id ) . '"]</span>';
echo '<span class="cbxballon_ctp_btn cbxballon_ctp" aria-label="' . esc_html__( 'Click to copy', 'cbxgooglemap' ) . '" data-balloon-pos="up"><i></i></span>';
echo '</div>';
```
