Javascript,Nodejs,MongodDB,WordPress,CSS,PHP

LightBlog

Monday, August 20, 2018

How to remove wordpress version from dashboard


Copy this code in your functions file,this code will remove version of wordpress from your dashboard which is appear in your footer.

<?php
function wpb_remove_version() {
return '';
}
add_filter('the_generator', 'wpb_remove_version');
?>

Note: the_generator is wordpress hook

No comments:

Post a Comment