HEX
Server: Apache/2.4.57 (Debian)
System: Linux web-server-k8s-e92jnr3j-6f99bff6b6-rp2wg 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64
User: apache (48)
PHP: 7.4.33
Disabled: 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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/sites/1250.info/wp-content/plugins/nm-theme-settings/nm-theme-settings.php
<?php
/*
	Plugin Name: Savoy Theme - Settings Panel
	Plugin URI: http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description: Enables the theme's settings panel.
	Version: 1.2
	Author: NordicMade
	Author URI: http://www.nordicmade.com
	Text Domain: nm-theme-settings
	Domain Path: /languages/
*/

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class NM_Theme_Settings {
	
    /* Init */
	function init() {
        // Constants
        define( 'NM_TS_DIR', plugin_dir_path( __FILE__ ) . 'includes' );
        define( 'NM_TS_URI', plugin_dir_url( __FILE__ ) );
        
        if ( ! class_exists( 'ReduxFramework' ) ) {
            require_once( NM_TS_DIR . '/options/redux-core/framework.php' );
            require_once( NM_TS_DIR . '/options/customizer.php' );
            
            /*if ( is_admin() ) {
                // Remove dashboard widget
                function nm_redux_remove_dashboard_widget() {
                    remove_meta_box( 'redux_dashboard_widget', 'dashboard', 'side' );
                }
                add_action( 'wp_dashboard_setup', 'nm_redux_remove_dashboard_widget', 100 );
            }*/
        }
        
        /* Add custom settings-panel styles */
        function remove_panel_css() {
            wp_dequeue_style( 'redux-admin-css' );
            
            wp_enqueue_style( 'nm-redux-admin', NM_TS_URI . '/assets/nm-redux-admin.css', array( 'farbtastic' ), '1.0', 'all' );
        }
        $load_default_styles = apply_filters( 'nm_theme_settings_default_styles', false );
        if ( ! $load_default_styles ) {
            add_action( 'redux/page/' . 'nm_theme_options' . '/enqueue', 'remove_panel_css' );
        }

    }
	
}

$NM_Theme_Settings = new NM_Theme_Settings();
$NM_Theme_Settings->init();