[
MAINHACK SHELL
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: override-defaults.php
<?php /** * Override default customizer panels, sections, settings or controls. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Override Sections */ $wp_customize->get_section( 'title_tagline' )->priority = 5; $wp_customize->get_section( 'title_tagline' )->panel = 'panel-header-group'; /** * Override Settings */ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; $wp_customize->get_setting( 'custom_logo' )->transport = 'refresh'; /** * Override Controls */ $wp_customize->get_control( 'custom_logo' )->priority = 5; $wp_customize->get_control( 'blogname' )->priority = 8; $wp_customize->get_control( 'blogdescription' )->priority = 12; $wp_customize->get_control( 'header_textcolor' )->priority = 9; if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogname', array( 'selector' => '.main-header-bar .site-title a, .ast-small-footer-wrap .ast-footer-site-title', 'container_inclusive' => false, 'render_callback' => 'Astra_Customizer_Partials::render_partial_site_title', ) ); } if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.main-header-bar .site-description', 'container_inclusive' => false, 'render_callback' => 'Astra_Customizer_Partials::render_partial_site_tagline', ) ); } /* * Modify WooCommerce default section priorities */ if ( class_exists( 'WooCommerce' ) ) { $wp_customize->get_section( 'woocommerce_product_images' )->priority = 25; $wp_customize->get_section( 'woocommerce_store_notice' )->priority = 26; $wp_customize->get_section( 'woocommerce_product_catalog' )->priority = 11; $wp_customize->get_section( 'woocommerce_checkout' )->priority = 21; $wp_customize->get_section( 'woocommerce_checkout' )->description = ''; $wp_customize->get_panel( 'woocommerce' )->priority = 70; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server.isorus.org
Server IP: 159.223.142.74
PHP Version: 7.4.33
Server Software: Apache
System: Linux server.isorus.org 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
HDD Total: 319.99 GB
HDD Free: 215.78 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
Off
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: inceptionblue
User ID (UID): 1042
Group ID (GID): 1043
Script Owner UID:
Current Dir Owner: 1042