Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.48.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : admin-cta.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.' );
}
if ( false === strpos( $attributes['class'], 'frm-gradient' ) ) {
	$button_class = 'frm-button-primary';
} else {
	$button_class = 'frm-button-secondary';
}
?>
<div <?php FrmAppHelper::array_to_html_params( $attributes, true ); ?>>
	<?php
	if ( ! empty( $args['icon'] ) ) {
		?>
		<div class="frm-cta-icon">
			<?php FrmAppHelper::icon_by_class( $args['icon'] ); ?>
		</div>
		<?php
	}
	?>
	<div class="frm-cta-content">
		<h4>
			<?php FrmAppHelper::kses_echo( $args['title'], array( 'a', 'br', 'span', 'p', 'svg', 'use' ) ); ?>
		</h4>

		<p class="frm-m-0">
			<?php FrmAppHelper::kses_echo( $args['description'], array( 'a', 'br', 'span', 'p', 'svg', 'use' ) ); ?>
		</p>
	</div>

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