# formidable/trunk/classes/views/dashboard/templates/widget-placeholder.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version trunk. 26 lines.

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/dashboard/templates/widget-placeholder.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/dashboard/templates/widget-placeholder.php
- Modified: 2026-05-27T15:12:34+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/formidable/trunk/code/classes/views/dashboard/templates/widget-placeholder.php#L10-L20`.

```php
<?php
/**
 * Dashboard widget placeholder.
 *
 * @package Formidable
 *
 * @var array $template Widget data with 'widget-heading' and 'placeholder' (background, heading, copy, button[link, label, classname]).
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<h2 class="frm-widget-heading"><?php echo esc_html( $template['widget-heading'] ); ?></h2>
<div class="frm-widget-placeholder" data-background="<?php echo esc_attr( $template['placeholder']['background'] ); ?>">
	<div>
		<h2 class="frm-widget-heading">
			<?php echo esc_html( $template['placeholder']['heading'] ); ?>
		</h2>
		<p class="frm-mt-sm"><?php echo wp_kses_post( $template['placeholder']['copy'] ); ?></p>
		<?php if ( null !== $template['placeholder']['button'] ) : ?>
			<a href="<?php echo esc_url( $template['placeholder']['button']['link'] ); ?>" class="frm-button-secondary <?php echo isset( $template['placeholder']['button']['classname'] ) ? esc_attr( $template['placeholder']['button']['classname'] ) : ''; ?>"><?php echo esc_html( $template['placeholder']['button']['label'] ); ?></a>
		<?php endif; ?>
	</div>
</div>

```
