|
Server : Apache System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64 User : p141464 ( 418825) PHP Version : 7.4.33.12 Disable Function : NONE Directory : /html/relaunch-kmu/wp-content/plugins/wp-gdpr-compliance/Templates/Admin/ |
Upload File : |
<?php
use WPGDPRC\Utils\AdminHelper;
use WPGDPRC\Utils\Elements;
/**
* @var string $title
*/
if ( empty( $class ) ) {
$class = '';
}
if ( empty( $heading ) ) {
$heading = 3;
}
if ( empty( $title_class ) ) {
$title_class = '';
}
?>
<div class="wpgdprc-tile <?php echo esc_attr( $class ); ?>">
<div class="wpgdprc-tile__content">
<?php Elements::heading( $title, $heading, [ 'class' => 'wpgdprc-tile__title ' . $title_class ] ); ?>
<?php if ( ! empty( $text ) ) : ?>
<p class="wpgdprc-tile__text"><?php echo wp_kses_post( $text ); ?></p>
<?php endif; ?>
<?php
if ( ! empty( $extra ) ) {
if ( is_callable($extra) ) {
$extra();
} else {
echo wp_kses_post( $extra );
}
}
?>
</div>
<div class="wpgdprc-tile__footer">
<?php
if ( ! empty( $footer ) ) {
if ( is_callable($footer) ) {
$footer();
} else {
echo wp_kses_post( $footer );
}
}
?>
</div>
</div>