| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/blocksy/inc/options/general/ |
Upload File : |
<?php
/**
* Performance options
*
* @copyright 2019-present Creative Themes
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @package Blocksy
*/
$options = [
'performance_section_options' => [
'type' => 'ct-options',
'setting' => [ 'transport' => 'postMessage' ],
'inner-options' => [
apply_filters(
'blocksy_performance_end_customizer_options',
[]
),
[
[
'emoji_scripts' => [
'label' => __( 'Disable Emojis Script', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
'desc' => __( 'Enable this option if you want to remove WordPress emojis script in order to improve the performance.', 'blocksy' )
],
blocksy_rand_md5() => [
'type' => 'ct-divider'
]
],
apply_filters(
'blocksy_performance_after_emojis_customizer_options',
[]
),
'has_lazy_load' => [
'label' => __( 'Lazy Load Images', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
'desc' => __( 'Enable lazy loading to improve performance.', 'blocksy' ),
],
blocksy_rand_md5() => [
'type' => 'ct-condition',
'condition' => [ 'has_lazy_load' => 'yes' ],
'options' => [
[
'has_lazy_load_page_title_image' => [
'label' => __( 'Post/Page Title Featured Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
'has_lazy_load_single_featured_image' => [
'label' => __( 'Single Post/Page Featured Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
'has_lazy_load_archives_image' => [
'label' => __( 'Archives Featured Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
'has_lazy_load_related_posts_image' => [
'label' => __( 'Related Posts Featured Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
],
function_exists('is_shop') ? [
'has_lazy_load_single_product_image' => [
'label' => __( 'Single Product Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
'has_lazy_load_shop_card_image' => [
'label' => __( 'Shop Archive Featured Image', 'blocksy' ),
'type' => 'ct-switch',
'value' => 'yes',
'setting' => [ 'transport' => 'postMessage' ],
],
] : []
],
],
],
],
],
];