Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : white-label.php
<?php

tie_build_theme_option(
	array(
		'title' => esc_html__( 'White Label', TIELABS_TEXTDOMAIN ),
		'id'    => 'white-label-tab',
		'type'  => 'tab-title',
	));

$lock_settings = 'block';

if( ! tie_get_token() ){

	$lock_settings = 'none';
	
	tie_build_theme_option(
		array(
			'text' => esc_html__( 'Verify your license to unlock this section.', TIELABS_TEXTDOMAIN ),
			'type' => 'error',
		));
}

echo '<div class="tie-hide-options" style="display:'. $lock_settings .'" >';

tie_build_theme_option(
	array(
		'type'  => 'message',
		'text' => esc_html__( 'For further customization on theme name, slug, thumbnail and description that appears in Appearance > Themes, please use the child theme.', TIELABS_TEXTDOMAIN ),
	));

tie_build_theme_option(
	array(
		'type'  => 'header',
		'id'    => 'white-label-general',
		'title' => esc_html__( 'General', TIELABS_TEXTDOMAIN ),
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Theme Name', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_theme_name',
		'type' => 'text',
		'hint' => sprintf( esc_html__( 'Replace %s text in the entire admin pages.', TIELABS_TEXTDOMAIN ), '<strong>'. apply_filters( 'TieLabs/theme_name', 'TieLabs' ) .'</strong>' ),
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Theme Options Page Logo', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_options_logo',
		'type' => 'upload',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Menu Icon', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_menu_icon',
		'type' => 'text',
		'hint' => '<a href="https://developer.wordpress.org/resource/dashicons/#editor-aligncenter" target="_blank">'. esc_html__( 'Choose an icon and paste the class name.', TIELABS_TEXTDOMAIN ) .'</a>',
		'placeholder' => 'dashicons-admin-generic',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Disable Help Links', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_help_links',
		'type' => 'checkbox',
		'hint' => esc_html__( 'Enable help links from control panel and meta options.', TIELABS_TEXTDOMAIN ),
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Disable the Knowledge Base Beacon', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_beacon',
		'type' => 'checkbox',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Disable Demos Page', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_demos',
		'type' => 'checkbox',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Disable System Status Page', TIELABS_TEXTDOMAIN ),
		'id'   => 'white_label_system_status',
		'type' => 'checkbox',
	));


tie_build_theme_option(
	array(
		'type'  => 'header',
		'id'    => 'white-label',
		'title' => esc_html__( 'Posts Settings', TIELABS_TEXTDOMAIN ),
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'Only admins can manage the advanced settings in the post edit page', TIELABS_TEXTDOMAIN ),
		'id'   => 'posts_advanced_options_admin',
		'type' => 'checkbox',
	));

tie_build_theme_option(
	array(
		'type'  => 'header',
		'id'    => 'wordpress-login-page-logo',
		'title' => esc_html__( 'WordPress Login page', TIELABS_TEXTDOMAIN ),
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'WordPress Login page Logo', TIELABS_TEXTDOMAIN ),
		'id'   => 'dashboard_logo',
		'type' => 'upload',
	));

tie_build_theme_option(
	array(
		'name' => esc_html__( 'WordPress Login page Logo URL', TIELABS_TEXTDOMAIN ),
		'id'   => 'dashboard_logo_url',
		'type' => 'text',
	));

echo '</div>';
© 2026 GrazzMean