HEX
Server: Apache
System: Linux b5.s-host.com.ua 4.18.0-305.10.2.el7.x86_64 #1 SMP Fri Jul 23 21:00:55 UTC 2021 x86_64
User: unelbhzm (1470)
PHP: 8.0.18
Disabled: NONE
Upload Files
File: //sites/nuofama.com/wp-content/themes/blocksy/inc/options/engagement/social-accounts.php
<?php
/**
 * Social Accounts
 *
 * @copyright 2019-present Creative Themes
 * @license   http://www.gnu.org/copyleft/gpl.html GNU General Public License
 * @package   Blocksy
 */

$social_networks_options = [];

foreach (blocksy_get_social_networks_list() as $id => $network) {
	$social_section_options[$id] = [
		'label' => $network['label'],
		'type' => 'text',
		'design' => 'inline',
		'value' => '',
		'setting' => [ 'transport' => 'postMessage' ],
	];
}

$options = [
	blocksy_rand_md5() => [
		'type' => 'ct-divider',
	],
	
	'social_section_options' => [
		'label' => __( 'Social Network Accounts', 'blocksy' ),
		'type' => 'ct-panel',
		'setting' => [ 'transport' => 'postMessage' ],
		'inner-options' => [
			[
				blocksy_rand_md5() => [
					'label' => __( 'Social Network Accounts', 'blocksy' ),
					'type' => 'ct-title',
					'desc' => __( 'Easily link your social media accounts and display them throughout your website, with the various elements provided in the customizer.', 'blocksy' ),
				],

				blocksy_rand_md5() => [
					'type' => 'ct-divider',
				],
			],

			$social_section_options
		],
	],
];