HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/TriadGov/wp-content/plugins/wpforms/pro/templates/emails/summary-header-plain.php
<?php
/**
 * Email Summary header template (plain text).
 *
 * This template can be overridden by copying it to yourtheme/wpforms/emails/summary-header-plain.php.
 *
 * @since 1.8.8
 *
 * @var array $license_banner License banner arguments.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! empty( $license_banner ) && ! empty( $license_banner['status'] ) ) {

	if ( ! empty( $license_banner['title'] ) ) {
		echo esc_html( $license_banner['title'] ) . "\n\n";
	}

	if ( ! empty( $license_banner['content'] ) ) {
		echo esc_html( implode( "\n\n", array_map( 'wp_strip_all_tags', $license_banner['content'] ) ) );
	}

	if ( ! empty( $license_banner['help_url'] ) ) {
		echo "\n\n" . esc_url( $license_banner['help_url'] ) . "\n\n";
	}

	if ( ! empty( $license_banner['cta']['url'] ) && ! empty( $license_banner['cta']['text'] ) ) {
		echo esc_html( $license_banner['cta']['text'] ) . ': ' . esc_url( $license_banner['cta']['url'] ) . "\n\n";
	}

	echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
}