HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux bareserver 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 7.2.24-0ubuntu0.18.04.17
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,
Upload Files
File: /var/www/html/site/newsite/wp-content/themes/vinl/inc/blocks/customizer-info/theme-info.php
<?php

add_action('customize_register', 'finley_customizer_theme_info');

function finley_customizer_theme_info($wp_customize)
{

	$wp_customize->add_section('finley_theme_info_section', array(
		'title'       => esc_html__('❂ Theme Info', 'finley'),
		'priority' => 2
	));


	$wp_customize->add_setting('theme_info', array(
		'default' => '',
		'sanitize_callback' => 'wp_kses_post',
	));

	$theme_info = '';

	$theme_info .= '<span class="sticky_info_row wp-clearfix"><label class="row-element">' . esc_html__('Theme Details', 'finley') . ': </label><a class="button alignright" href="' . esc_url('https://graphthemes.com/finley/') . '" target="_blank">' . esc_html__('Click Here', 'finley') . '</a></span><hr>';

	$theme_info .= '<span class="sticky_info_row wp-clearfix"><label class="row-element">' . esc_html__('How to use', 'finley') . ': </label><a class="button alignright" href="' . esc_url('https://graphthemes.com/theme-docs/finley/') . '" target="_blank">' . esc_html__('Click Here', 'finley') . '</a></span><hr>';
	$theme_info .= '<span class="sticky_info_row wp-clearfix"><label class="row-element">' . esc_html__('View Demo', 'finley') . ': </label><a class="button alignright" href="' . esc_url('https://graphthemes.com/preview/?product_id=finley') . '" target="_blank">' . esc_html__('Click Here', 'finley') . '</a></span><hr>';
	$theme_info .= '<span class="sticky_info_row wp-clearfix"><label class="row-element">' . esc_html__('Support Forum', 'finley') . ': </label><a class="button alignright" href="' . esc_url('https://wordpress.org/support/theme/finley') . '" target="_blank">' . esc_html__('Click Here', 'finley') . '</a></span><hr>';

	$wp_customize->add_control(new Finley_Custom_Text($wp_customize, 'theme_info', array(
		'section' => 'finley_theme_info_section',
		'label' => $theme_info
	)));
}