The above 4.7.3 is the WordPress version number. In fact, there are many ways to remove the version number added to WordPress on the Internet, so today php Chinese network needs to share an almost perfect solution, first, let's take a look at several common methods: WordPress bloggers are still very aware of security, that is, removing the WordPress version number, this prevents malicious users from exploiting the vulnerabilities of earlier versions to attack the website. (Free worpress template download)
So how can I remove the WordPress version in the Feed?
Add the following code to the functions. php file of the current topic:
// Delete the WP version number add_filter ('The _ generator', 'fanly _ remove_wp_version ') in the head and feed simultaneously; function fanly_remove_wp_version () {return '';}
Here, we will announce the tutorials and methods for WordPress to remove the WP version from the Feed. if you haven't noticed the Feed, you should look back now. Of course, if you find that the WordPress version number is leaked elsewhere, you are welcome to join us in this article.
The above is the step for WordPress to remove the WP version from the Feed. For more information, see other related articles in the first PHP community!