AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/l/u/d/ludmqhh/www/hotel-forum/wp-content/themes/hotello/inc/admin/enqueue.php
<?php

add_action('admin_enqueue_scripts', 'hotello_admin_styles');

function hotello_admin_styles($hook)
{
    $theme_info = hotello_get_theme_assets_paths();

    /* GLOBAL CSS */
    wp_enqueue_style('hotel-admin-styles', $theme_info['admin_css'] . 'style.css', null, $theme_info['v'], 'all');
//    wp_enqueue_script('hotel-admin-scripts', $theme_info['admin_js'] . 'app.js', array('vc-backend-actions-js'), $theme_info['v'], true);


    if ($hook !== 'hotel_page_hotel-theme-options') {
        wp_enqueue_script('wp-color-picker-alpha', $theme_info['admin_js'] . 'wp-color-picker-alpha.js', array('wp-color-picker'), $theme_info['v'], true);
    }


    wp_register_style('font-awesome', $theme_info['vendors'] . 'font-awesome.css');
    wp_register_style('material-icons', '//fonts.googleapis.com/icon?family=Material+Icons', null, $theme_info['v']);

    //fonticonpicker
    wp_register_script('fontIconPicker', $theme_info['vendors'] . 'jquery.fonticonpicker.min.js');
    wp_register_style('fontIconPicker', $theme_info['vendors'] . 'jquery.fonticonpicker.min.css');
    wp_register_style('fontIconPicker-grey-theme', $theme_info['vendors'] . 'jquery.fonticonpicker.darkgrey.min.css');

	wp_enqueue_style('stm_default_google_font', hotello_google_fonts(), null, $theme_info['v'], 'all');
}


AnonSec - 2021