Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/blueversion/wp-content/plugins/give/includes/admin/views/ |
Upload File : |
<?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>