Created
January 30, 2024 14:25
-
-
Save AnadarProSvcs/ca21496e3e646b66b42f6a3cbd32f824 to your computer and use it in GitHub Desktop.
Hide Version Number in Front-End HTML in #WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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