Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remover a versão do WordPress do site
<?php
// Remover a versão do WordPress do código
remove_action('wp_head', 'wp_generator');
// Remover a versão do WordPress do RSS
function remove_wp_version_rss() {
return'';
}
add_filter('the_generator','remove_wp_version_rss');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment