Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/geniouskin/wp-content/themes/ixlab/admin/ |
Upload File : |
<?php
/**
* WARNING: This file is part of the theme. DO NOT edit
* this file under any circumstances.
*/
/**
* Prevent direct access to this file
*/
defined( 'ABSPATH' ) or die();
// The third-party libraries
require_once ixLab_PATH . 'vendor/class-tgm-plugin-activation.php';
// Classes
require_once ixLab_PATH . 'admin/inc/class-sample-data.php';
// Register theme's assets
add_action( 'init', 'ixlab_setup_admin_assets' );
if ( ! function_exists( 'ixlab_setup_admin_assets' ) ):
/**
* Register scripts and styles for the theme
*
* @return void
*/
function ixlab_setup_admin_assets() {
// Font Icons
wp_register_style( 'font-icons', get_theme_file_uri( 'assets/css/components.css' ), array(), '4.7.0' );
// Chosen
wp_register_style( 'ixlab-chosen', get_theme_file_uri( 'admin/js/vendor/chosen/chosen.min.css' ), array(), ixLab_VERSION );
wp_register_script( 'ixlab-chosen', get_theme_file_uri( 'admin/js/vendor/chosen/chosen.jquery.min.js' ), array( 'jquery' ), ixLab_VERSION, true );
// Spectrum
wp_register_style( 'ixlab-spectrum', get_theme_file_uri( 'admin/js/vendor/spectrum/spectrum.css' ), array(), ixLab_VERSION );
wp_register_script( 'ixlab-spectrum', get_theme_file_uri( 'admin/js/vendor/spectrum/spectrum.js' ), array( 'jquery' ), ixLab_VERSION, true );
// Spectrum
wp_register_style( 'ixlab-iconpicker', get_theme_file_uri( 'admin/js/vendor/iconpicker/css/jquery.fonticonpicker.css' ), array(), ixLab_VERSION );
wp_register_script( 'ixlab-iconpicker', get_theme_file_uri( 'admin/js/vendor/iconpicker/fonticonpicker.js' ), array( 'jquery' ), ixLab_VERSION, true );
// VueJS library
wp_register_script( 'vuejs', get_theme_file_uri( 'admin/js/vendor/vue.js' ), array(), ixLab_VERSION, true );
/**
* Core scripts
*/
wp_register_script( 'ixlab-options', get_theme_file_uri( 'admin/js/options.js' ), array(
'vuejs',
'ixlab-spectrum',
'ixlab-chosen',
'wp-plupload',
'jquery-ui-resizable',
'jquery-ui-sortable',
'ixlab-iconpicker'
), ixLab_VERSION, true );
wp_register_style( 'ixlab-options', get_theme_file_uri( 'admin/css/options.css' ), array(
'font-icons',
'ixlab-chosen',
'ixlab-spectrum',
'ixlab-iconpicker'
), ixLab_VERSION );
wp_register_style( 'ixlab-customize', get_theme_file_uri( 'admin/css/customize.css' ), array( 'ixlab-options' ), ixLab_VERSION );
}
endif;
add_filter('acf/settings/save_json', function() {
return get_theme_file_path( 'admin/json/' );
} );
add_filter('acf/settings/load_json', function( $paths ) {
return array( get_theme_file_path( 'admin/json/' ) );
} );