Skip to content

Instantly share code, notes, and snippets.

@AnadarProSvcs
Created January 30, 2024 14:25
Show Gist options
  • Save AnadarProSvcs/ca21496e3e646b66b42f6a3cbd32f824 to your computer and use it in GitHub Desktop.
Save AnadarProSvcs/ca21496e3e646b66b42f6a3cbd32f824 to your computer and use it in GitHub Desktop.
Hide Version Number in Front-End HTML in #WordPress
//WordPress version can help hackers target sites with known liabilities
add_filter('the_generator', '__return_empty_string');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment