| Server IP : 77.37.83.246 / Your IP :
216.73.216.151 [
Web Server : LiteSpeed System : Linux nl-srv-web1124.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64 User : u964240598 ( 964240598) PHP Version : 8.4.19 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u964240598/public_html/jobs/wp-content/plugins/hostinger/includes/Preview/ |
Upload File : |
<?php
namespace Hostinger\Preview;
use Hostinger\Helper;
defined( 'ABSPATH' ) || exit;
class Assets {
public function __construct() {
$helper = new Helper();
if ( $helper->is_preview_domain() ) {
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_preview_css' ) );
}
}
public function enqueue_preview_css(): void {
if ( is_user_logged_in() ) {
wp_enqueue_style( 'hostinger-preview-styles', HOSTINGER_ASSETS_URL . '/css/hts-preview.css', array(), HOSTINGER_VERSION );
}
}
}
Anon7 - 2022
AnonSec Team
