Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/tienda/wp-content/themes/negan/framework/configs/options/maintenance.php
Назад
<?php // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } /** * Blog settings * * @param array $sections An array of our sections. * @return array */ function negan_options_section_maintenance( $sections ) { $sections['maintenance'] = array( 'name' => 'maintenance_panel', 'title' => esc_html__('Maintenance', 'negan'), 'icon' => 'fa fa-lock', 'fields' => array( array( 'id' => 'enable_maintenance', 'type' => 'radio', 'default' => 'no', 'class' => 'la-radio-style', 'title' => esc_html__('Enable Maintenance Mode', 'negan'), 'desc' => esc_html__('Turn on to make your website to be private', 'negan'), 'options' => array( 'no' => esc_html__('No', 'negan'), 'yes' => esc_html__('Yes', 'negan') ) ), array( 'id' => 'maintenance_page', 'type' => 'select', 'title' => esc_html__('Maintenance Page', 'negan'), 'options' => 'pages', 'query_args' => array( 'posts_per_page' => -1 ), 'default_option' => esc_html__('Select a page', 'negan'), 'dependency' => array( 'enable_maintenance_yes', '==', 'true' ) ) ) ); return $sections; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка