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

20 lines
284 B
PHP
Raw Normal View History

2023-10-22 22:21:44 +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();