| 1 |
<?php |
| 2 |
/** |
| 3 |
* Dashboard payment placeholder widget. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
* |
| 7 |
* @var array $template Widget data with 'counters' and 'placeholder' (copy, cta[link, label, classname]) keys. |
| 8 |
*/ |
| 9 |
|
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
die( 'You are not allowed to call this page directly.' ); |
| 12 |
} |
| 13 |
?> |
| 14 |
<div class="frm-counter-card-wrapper frm-payments-placeholder"> |
| 15 |
<div class="frm-dashboard-widget frm-card-item frm-counter-card frm-animate"> |
| 16 |
<div class="frm-flex-box frm-justify-between frm-items-center"> |
| 17 |
<div> |
| 18 |
<h3><?php echo esc_html( $template['counters'][0]['heading'] ); ?></h3> |
| 19 |
<p><?php echo esc_html( $template['placeholder']['copy'] ); ?></p> |
| 20 |
</div> |
| 21 |
<a href="<?php echo esc_url( $template['placeholder']['cta']['link'] ); ?>" class=" <?php echo isset( $template['placeholder']['cta']['classname'] ) ? esc_attr( $template['placeholder']['cta']['classname'] ) : ''; ?>"><?php echo esc_html( $template['placeholder']['cta']['label'] ); ?></a> |
| 22 |
</div> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
|
| 26 |
|