HEX
Server: LiteSpeed
System: Linux premium221.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: madepabj (2566)
PHP: 8.3.26
Disabled: NONE
Upload Files
File: /home/madepabj/gamepointpk.com/wp-content/plugins/groovy-functions/metaboxes/user.php
<?php

$prefix = EPCL_THEMEPREFIX.'_';
$prefix_key = 'epcl_user_';

$page_key = 'epcl_user';

// Create profile options
CSF::createProfileOptions( $page_key );

CSF::createSection( $page_key, array(
    'title'  => esc_html__('(EP) Custom Fields'),
    'icon'   => 'fa fa-rocket',
    'fields' => array(
        array (
			'id' => 'facebook',
			'title' => esc_html__('Facebook URL', 'epcl_framework'),
			'desc' => esc_html__('e.g. http://www.facebook.com/estudiopatagon', 'epcl_framework'),
			'type' => 'text',
		),
		array (
			'id' => 'twitter',
			'title' => esc_html__('Twitter URL', 'epcl_framework'),
			'desc' => esc_html__('e.g: https://twitter.com/wordpress', 'epcl_framework'),
			'type' => 'text',
        ),
        array (
			'id' => 'position',
			'title' => esc_html__('Position (tagline)', 'epcl_framework'),
			'desc' => esc_html__('e.g: Founder & Editor', 'epcl_framework'),
			'type' => 'text',
        ),
        array(
			'id' => 'avatar_mode',
			'type' => 'button_set',
			'title' => esc_html__('Avatar Mode', 'epcl_framework'),
			'subtitle' => esc_html__('Default: Inherit', 'epcl_framework'),
			'desc' => esc_html__('In case you dont want to display any Gravatar or Image, just select "text"', 'epcl_framework'),
			'options' => array('inherit' => 'Inherit', 'image' => 'Gravatar/Optimized Avatar', 'text' => 'Text (force text mode)'),
			'default' => 'inherit'
		),
        array (
            'id' => 'avatar',
            'title' => esc_html__('Optimized Avatar', 'epcl_framework'),
            'desc' => esc_html__('Recommended size: 150x150. This step is totally optional, it\'s just boost a little the web speed rendering the image directly from your hosting, instead of gravatar.', 'epcl_framework'),
            'type' => 'media',                    
            'url' => false,
            'preview'=> true,
        ),
        
    )
) );