| @@ -1,0 +1,17 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +if (!defined('ABSPATH')) { | |
| 4 | + exit; | |
| 5 | +} | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Variables that should be passed to the view | |
| 9 | + * @var string $actionableUrl | |
| 10 | + * @var string $label | |
| 11 | + */ | |
| 12 | +?> | |
| 13 | + | |
| 14 | +<a href="<?php echo esc_url($actionableUrl) ?>" class="button button-primary" target="_blank"> | |
| 15 | + <?php echo esc_html($label); ?> | |
| 16 | + <span class="dashicons dashicons-megaphone" style="line-height: 100%; vertical-align: middle"></span> | |
| 17 | +</a> | |