HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/flbestac/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;