HEX
Server: Apache
System: Linux webm005.cluster121.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: adventp (418412)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/adventp/www/wp-content/plugins/ut-core/inc/functions.php
<?php

function ut_core_get_file_content( $file, $offset, $length ) {
    return @file_get_contents($file, null, null, $offset, $length);
}

function ut_core_disable_emojis() {
    if( function_exists('ot_get_option') ) {
        if( ot_get_option( 'ut_deactivate_emojis', 'on' ) == 'on' ) {

            // remove actions
            remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
            remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
            remove_action( 'wp_print_styles', 'print_emoji_styles' );
            remove_action( 'admin_print_styles', 'print_emoji_styles' );

            // remove filters
            remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
            remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
            remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );

        }
    }
}
add_action( 'init', 'ut_core_disable_emojis' );