403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.165
Web Server : Apache
System : Linux webm004.cluster126.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 : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/wp-seopress/src/Thirds/AMP/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/wp-seopress/src/Thirds/AMP/amp.php
<?php

if ( ! defined('ABSPATH')) {
    exit;
}
if (is_plugin_active('wp-seopress-pro/seopress-pro.php') && defined('SEOPRESS_PRO_VERSION') && version_compare(SEOPRESS_PRO_VERSION, '5.4', '<')) { //Quick fix to prevent fatal error for SEOPress < 5.4
    //do nothing
} else {
    /**
     * AMP Compatibility - wp action hook
     *
     * @since 5.9.0
     *
     * @return void
     */
    add_action('wp', 'seopress_amp_compatibility_wp', 0);
    function seopress_amp_compatibility_wp() {
        if ( function_exists( 'amp_is_request' ) && amp_is_request() ) {
            wp_dequeue_script( 'seopress-accordion' );

            remove_filter( 'seopress_google_analytics_html', 'seopress_google_analytics_js', 10);

            remove_action('wp_enqueue_scripts', 'seopress_google_analytics_ecommerce_js', 20, 1);

            remove_action('wp_enqueue_scripts', 'seopress_google_analytics_cookies_js', 20, 1);

            remove_action( 'wp_head', 'seopress_load_google_analytics_options', 0 );
        }
    }

    /**
     * AMP Compatibility - wp_head action hook
     *
     * @since 5.9.0
     *
     * @return void
     */
    add_action('wp_head', 'seopress_amp_compatibility_wp_head', 0);
    function seopress_amp_compatibility_wp_head() {
        if ( function_exists( 'amp_is_request' ) && amp_is_request() ) {
            wp_dequeue_script( 'seopress-accordion' );
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit