HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/themes/jnews/class/Customizer/sections/global_speed.php
<?php

$options = [];

$options[] = [
	'id'          => 'jnews_load_necessary_asset',
	'transport'   => 'refresh',
	'default'     => false,
	'type'        => 'jnews-toggle',
	'label'       => esc_html__( 'Optimize Assets', 'jnews' ),
	'description' => esc_html__( 'Only load necessary assets based on the current page.', 'jnews' ),
];

$options[] = [
	'id'          => 'jnews_empty_base64',
	'transport'   => 'refresh',
	'default'     => false,
	'type'        => 'jnews-toggle',
	'label'       => esc_html__( 'Base64 Image', 'jnews' ),
	'description' => esc_html__( 'Use a base64 image for the empty image when using the lazy load image option.', 'jnews' ),
];

$options[] = [
	'id'          => 'jnews_ajax_megamenu',
	'transport'   => 'refresh',
	'default'     => false,
	'type'        => 'jnews-toggle',
	'label'       => esc_html__( 'Ajax Mega Menu', 'jnews' ),
	'description' => esc_html__( 'Use ajax load for the mega menu category.', 'jnews' ),
];

$options[] = [
	'id'          => 'jnews_disable_image_srcset',
	'transport'   => 'refresh',
	'default'     => false,
	'type'        => 'jnews-toggle',
	'label'       => esc_html__( 'Disable Image Srcset', 'jnews' ),
	'description' => esc_html__( 'Disable srcset on the image attribute.', 'jnews' ),
];

return $options;