Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vô hiệu hóa wp-embed.min.js
//* Remove WP Embed Script
function stop_loading_wp_embed() {
if (!is_admin()) {
wp_deregister_script('wp-embed');
}
}
add_action('init', 'stop_loading_wp_embed');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment