laipower/wp-content/upgrade-temp-backup/plugins/w3-total-cache/UserExperience_OEmbed_Extension.php

20 lines
284 B
PHP
Raw Normal View History

2024-03-28 09:40:10 +00:00
<?php
namespace W3TC;
class UserExperience_OEmbed_Extension {
public function run() {
add_action( 'wp_footer', array( $this, 'wp_footer' ) );
}
public function wp_footer() {
wp_deregister_script( 'wp-embed' );
}
}
$o = new UserExperience_OEmbed_Extension();
$o->run();