# metricool/2.1.1/views/admin/share-post/button.php

Metricool – Social media and site statistics, version 2.1.1. 18 lines.

- Page: https://pluginprobe.com/plugins/metricool/2.1.1/code/views/admin/share-post/button.php
- Raw: https://pluginprobe.com/plugins/metricool/2.1.1/raw/views/admin/share-post/button.php
- Modified: 2026-08-20T14:08:30+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/metricool/2.1.1/code/views/admin/share-post/button.php#L10-L20`.

```php
<?php

if (!defined('ABSPATH')) {
    exit;
}

/**
 * Variables that should be passed to the view
 * @var string $actionableUrl
 * @var string $label
 */
?>

<a href="<?php echo esc_url($actionableUrl) ?>" class="button button-primary" target="_blank">
    <?php echo esc_html($label); ?>
    <span class="dashicons dashicons-megaphone" style="line-height: 100%; vertical-align: middle"></span>
</a>

```
