HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wordpress/wp-content/plugins/feeds-for-youtube/templates/footer.php
<?php

// Don't load directly
use SmashBalloon\YouTubeFeed\SBY_Display_Elements;
use SmashBalloon\YouTubeFeed\SBY_Parse;

if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
$subscribe_url = isset( $posts[0] ) ? SBY_Parse::get_channel_permalink( $posts[0] ) : '';

$sub_btn_style   = SBY_Display_Elements::get_subscribe_styles( $settings ); // style="background: rgb();color: rgb();"  already escaped
$sub_btn_classes = strpos( $sub_btn_style, 'background' ) !== false ? ' sby_custom' : '';
$show_subscribe_button = $settings['showsubscribe'];
$subscribe_button_text = $settings['subscribetext'];

$load_btn_style   = SBY_Display_Elements::get_load_button_styles( $settings ); // style="background: rgb();color: rgb();" already escaped
$load_btn_classes = strpos( $load_btn_style, 'background' ) !== false ? ' sby_custom' : '';
$load_button_text = __( $settings['buttontext'], 'feeds-for-youtube' );
?>
<div class="sby_footer">

<?php if ( $use_pagination || sby_doing_customizer( $settings ) ) : ?>
    <button type="button" aria-label="Load more content" class="sby_load_btn" <?php echo $load_btn_style; ?> <?php echo SBY_Display_Elements::get_button_data_attributes( $settings ); ?>>
        <span class="sby_btn_text" <?php echo SBY_Display_Elements::get_load_button_attribute( $settings ); ?>><?php echo esc_html( $load_button_text ); ?></span>
        <span class="sby_loader sby_hidden" style="background-color: rgb(255, 255, 255);"></span>
    </button>
<?php endif; ?>

<?php if ( ($first_username && $show_subscribe_button) || sby_doing_customizer( $settings ) ) : ?>
    <span 
        class="sby_follow_btn<?php echo esc_attr( $sub_btn_classes ); ?>" 
        <?php echo SBY_Display_Elements::get_subscribe_button_data_attributes( $settings ); ?>
    >
        <a 
            href="<?php echo esc_url( $subscribe_url ); ?>"
            <?php echo $sub_btn_style; ?> 
            target="_blank" 
            rel="noopener"
        >
            <?php echo SBY_Display_Elements::get_icon( 'youtube', $icon_type ); ?>
            <span <?php echo SBY_Display_Elements::get_subscribe_button_attribute( $settings ); ?> >
                <?php echo esc_html( $subscribe_button_text ); ?>
            </span>
        </a>
    </span>
<?php endif; ?>
</div>