HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/public_html/wp-content/plugins/give/includes/admin/views/blank-slate.php
<?php
/**
 * Displays onboarding message in the event of an empty list table.
 *
 * Available Variables:
 *
 *    array $content {
 *        string $image_url
 *        string $image_alt
 *        string $heading
 *        string $message
 *        string $cta_text
 *        string $cta_link
 *        string $help
 *    }
 */
?>

<div class="give-blank-slate">
	<?php if ( ! empty( $content['image_url'] ) ) : ?>
		<img class="give-blank-slate__image" src="<?php echo esc_url( $content['image_url'] ); ?>" alt="<?php echo esc_attr( $content['image_alt'] ); ?>">
	<?php endif; ?>

	<?php if ( ! empty( $content['heading'] ) ) : ?>
		<h2 class="give-blank-slate__heading"><?php esc_html_e( $content['heading'], 'give' ); ?></h2>
	<?php endif; ?>

	<?php if ( ! empty( $content['message'] ) ) : ?>
		<p class="give-blank-slate__message"><?php esc_html_e( $content['message'], 'give' ); ?></p>
	<?php endif; ?>

	<?php if ( ! empty( $content['cta_text'] ) && ! empty( $content['cta_link'] ) ) : ?>
		<a class="give-blank-slate__cta button button-primary" href="<?php echo esc_url( $content['cta_link'] ); ?>"><?php esc_html_e( $content['cta_text'], 'give' ); ?></a>
	<?php endif; ?>

	<?php if ( ! empty( $content['help'] ) ) : ?>
		<p class="give-blank-slate__help">
			<?php
			$allowed_html = array(
				'a'      => array(
					'href'   => array(),
					'title'  => array(),
					'target' => array(),
				),
				'em'     => array(),
				'strong' => array(),
				'code'   => array(),
			);

			echo wp_kses( $content['help'], $allowed_html );
			?>
		</p>
	<?php endif; ?>
</div>