PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /home/telusvwg/alwatnitraders.com/wp-content/themes/woodmart/inc/admin/settings/ |
| Server: Linux premium279.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 IP: 66.29.132.192 |
| Dir : //home/telusvwg/alwatnitraders.com/wp-content/themes/woodmart/inc/admin/settings/maintenance.php |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Direct access not allowed.
}
use XTS\Admin\Modules\Options;
Options::add_field(
array(
'id' => 'maintenance_mode',
'name' => esc_html__( 'Enable maintenance mode', 'woodmart' ),
'hint' => wp_kses( '<img data-src="' . WOODMART_TOOLTIP_URL . 'enable-maintenance-mode.jpg" alt="">', true ),
'description' => esc_html__( 'If enabled you need to create maintenance page in Dashboard - Pages - Add new. Choose "Template" to be "Maintenance" in "Page attributes". Or you can import the page from our demo in "Prebuilt websites" page', 'woodmart' ),
'type' => 'switcher',
'section' => 'maintenance',
'default' => false,
'on-text' => esc_html__( 'Yes', 'woodmart' ),
'off-text' => esc_html__( 'No', 'woodmart' ),
'priority' => 10,
)
);
Options::add_field(
array(
'id' => 'maintenance_access_key',
'name' => esc_html__( 'Access key for maintenance mode', 'woodmart' ),
'description' => esc_html__( 'You can pass a special GET parameter to suppress the maintenance mode. For example, https://website.com/?suppress_maintenance', 'woodmart' ),
'type' => 'text_input',
'section' => 'maintenance',
'requires' => array(
array(
'key' => 'maintenance_mode',
'compare' => 'equals',
'value' => true,
),
),
'default' => '',
'priority' => 20,
)
);