HEX
Server: LiteSpeed
System: Linux server240.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: creaqbdc (8964)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/creaqbdc/public_html/wp-content/plugins/essential-blocks/views/post-partials/read-more.php
<?php

$read_more_html = '';
$read_more_icon = '';

if ( $addIcon ) {
    $read_more_icon .= sprintf(
        '%1$s',
        $helper::eb_render_icon( $helper::eb_get_icon_type( $icon ), 'eb-button-icon eb-button-icon-left hvr-icon', $icon )
    );
}

if ( $showReadMore ) {
    $read_more_html .= sprintf(
        '<div class="ebpg-readmore-btn">
            <a href="%1$s">%3$s %2$s %4$s</a>
        </div>',
        get_permalink( $result->ID ),
        $readmoreText,
        $addIcon && $iconPosition == 'left' ? $read_more_icon : '',
        $addIcon && $iconPosition == 'right' ? $read_more_icon : '',
    );
}

return $read_more_html;