# formidable/6.7/classes/views/shared/admin-cta.php

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

- Page: https://pluginprobe.com/plugins/formidable/6.7/code/classes/views/shared/admin-cta.php
- Raw: https://pluginprobe.com/plugins/formidable/6.7/raw/classes/views/shared/admin-cta.php
- Modified: 2023-12-12T20:37:00+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/6.7/code/classes/views/shared/admin-cta.php#L10-L20`.

```php
<?php
/**
 * Admin CTA banner view.
 *
 * @package Formidable
 *
 * @var array $attributes HTML attributes for the wrapper element.
 * @var array $args       Arguments used in FrmTipsHelper::show_admin_cta.
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<div <?php FrmAppHelper::array_to_html_params( $attributes, true ); ?>>
	<div>
		<h4>
			<?php echo FrmAppHelper::kses( $args['title'], array( 'a', 'br', 'span', 'p', 'svg', 'use' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
		</h4>

		<p class="frm-m-0">
			<?php echo FrmAppHelper::kses( $args['description'], array( 'a', 'br', 'span', 'p', 'svg', 'use' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
		</p>
	</div>

	<a href="<?php echo esc_url( $args['link_url'] ); ?>" target="_blank" class="frm-cta-link button button-primary frm-button-primary">
		<?php echo esc_html( $args['link_text'] ); ?>
	</a>
</div>

```
