Step for WordPress to remove the WP version from the Feed

Source: Internet
Author: User
Tags wordpress version
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.