How to remove WordPress version number from pages and feeds
WordPress always publicly display wordpress version number in RSS and Atom feeds by default. With the following solution we can remove those wordpress version number from all our blog feeds.
You need to just use this code in functions.php file
add_filter('the_generator', 'digwp_complete_version_removal');
function digwp_complete_version_removal() {
return '';
}
WordPress always publicly display wordpress version number in RSS and Atom feeds by default. With the following solution we can remove those wordpress version number from all our blog feeds.
You need to just use this code in functions.php file
add_filter('the_generator', 'digwp_complete_version_removal');
function digwp_complete_version_removal() {
return '';
}
No comments:
Post a Comment