Uname: Linux premium294.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
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.80.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : admin-enqueue.php
<?php
/**
 * Enqueue scripts and styles for the ADMIN section.
 *
 * @since Liviza 1.0
 *
 * @return void
 */
if( !function_exists('themestek_wp_admin_scripts_styles') ){
function themestek_wp_admin_scripts_styles() {
	/* Core files of the theme */
	wp_enqueue_style( 'liviza-admin', get_template_directory_uri() . '/includes/admin.css', false, '1.0.0' );
	wp_enqueue_script( 'liviza-admin', get_template_directory_uri() . '/includes/admin.js', array( 'jquery' ) );
	// Sticky Kit library
	wp_enqueue_script( 'sticky-kit', get_template_directory_uri() . '/includes/libraries/sticky-kit/jquery.sticky-kit.min.js', array( 'jquery' ) );
}
}
add_action( 'admin_enqueue_scripts', 'themestek_wp_admin_scripts_styles' );
© 2025 XylotrechusZ