Server IP : 15.235.198.142 / Your IP : 216.73.216.149 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/limehill_LIVE/wp-content/plugins/wpforms-lite/templates/admin/splash/ |
Upload File : |
<?php /** * What's New modal section. * * @since 1.8.7 * * @var string $title Section title. * @var string $content Section content. * @var array $img Section image. * @var string $new Is new feature. * @var array $buttons Section buttons. * @var string $layout Section layout. */ if ( ! defined( 'ABSPATH' ) ) { exit; } $classes = [ 'wpforms-splash-section', 'wpforms-splash-section-' . $layout, ]; ?> <section class="<?php echo wpforms_sanitize_classes( $classes, true ); ?>"> <div class="wpforms-splash-section-content"> <?php if ( ! empty( $new ) ) { printf( '<span class="wpforms-splash-badge">%s</span>', esc_html__( 'New Feature', 'wpforms-lite' ) ); } ?> <h3><?php echo esc_html( $title ); ?></h3> <p><?php echo wp_kses_post( $content ); ?></p> <?php if ( ! empty( $buttons ) ) : ?> <div class="wpforms-splash-section-buttons"> <?php foreach ( $buttons as $button_type => $button ) { $button_class = $button_type === 'main' ? 'wpforms-btn-orange' : 'wpforms-btn-bordered'; printf( '<a href="%1$s" class="wpforms-btn %3$s" target="_blank" rel="noopener noreferrer">%2$s</a>', esc_url( $button['url'] ), esc_html( $button['text'] ), esc_attr( $button_class ) ); } ?> </div> <?php endif; ?> </div> <?php if ( ! empty( $img ) ) : ?> <div class="wpforms-splash-section-image wpforms-image-shadow-<?php echo wpforms_sanitize_classes( $img['shadow'] ?? 'none' ); ?>"> <img src="<?php echo esc_url( $img['url'] ); ?>" alt=""> </div> <?php endif; ?> </section>